Skip to content

Commit f4a4d6a

Browse files
committed
[chores] Added missing snooze and comment
1 parent 35048b2 commit f4a4d6a

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

openwisp_network_topology/tests/test_realtime.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ async def test_real_time_link_status_update(self):
105105
assert (
106106
json.loads(message["topology"])["links"][0]["properties"]["status"] == "up"
107107
)
108+
self._snooze()
108109
self.assertEqual(
109110
self.web_driver.execute_script("return graph.data;")["links"][0][
110111
"properties"

tests/openwisp2/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797

9898
ASGI_APPLICATION = "openwisp2.asgi.application"
9999

100+
# Needed to test UI updates via websockets
100101
CHANNEL_LAYERS = {
101102
"default": {
102103
"BACKEND": "channels_redis.core.RedisChannelLayer",

0 commit comments

Comments
 (0)