aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_climate.py
diff options
context:
space:
mode:
authorJuergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com>2016-09-06 12:40:52 +0200
committerJuergen Ryannel <juergen.bocklage-ryannel@pelagicore.com>2016-11-30 10:01:20 +0100
commitcc6023a2741478d7d764ea76178372cace42446b (patch)
tree6c6fcf4c2a16916e43a6a26734193e011b5ac432 /tests/test_climate.py
parent15bdd1ab21b3c50ab8bb52a9d287fd428d0f382e (diff)
Update all template files to the new grammar and tests
Diffstat (limited to 'tests/test_climate.py')
-rw-r--r--tests/test_climate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_climate.py b/tests/test_climate.py
index ec660f3..9468695 100644
--- a/tests/test_climate.py
+++ b/tests/test_climate.py
@@ -17,10 +17,10 @@ def load_system():
return FileSystem.parse_document(path)
-def test_service():
+def test_interface():
system = load_system()
- service = system.lookup_service('vehicle.climate.ClimateControl')
- assert service.name == 'ClimateControl'
+ interface = system.lookup_interface('vehicle.climate.ClimateControl')
+ assert interface.name == 'ClimateControl'