summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyagl/tests/test_weather.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyagl/tests/test_weather.py b/pyagl/tests/test_weather.py
index c59f49a..713491c 100644
--- a/pyagl/tests/test_weather.py
+++ b/pyagl/tests/test_weather.py
@@ -48,7 +48,7 @@ async def test_bad_unsubscription(event_loop, service: ws):
resp = await service.afbresponse()
assert resp.status == 'failed'
-
+@pytest.mark.dependency
async def test_subscribe_weather(event_loop, service: ws):
event = 'weather'
msgid = await service.subscribe(event)
@@ -58,6 +58,7 @@ async def test_subscribe_weather(event_loop, service: ws):
assert eventresp.api == f'{service.api}/{event}'
+@pytest.mark.dependency(depends=['test_subscribe_weather'])
async def test_unsubscribe_weather(event_loop, service: ws):
msgid = await service.subscribe('weather')
resp = await service.afbresponse()