We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35048b2 commit f4a4d6aCopy full SHA for f4a4d6a
2 files changed
openwisp_network_topology/tests/test_realtime.py
@@ -105,6 +105,7 @@ async def test_real_time_link_status_update(self):
105
assert (
106
json.loads(message["topology"])["links"][0]["properties"]["status"] == "up"
107
)
108
+ self._snooze()
109
self.assertEqual(
110
self.web_driver.execute_script("return graph.data;")["links"][0][
111
"properties"
tests/openwisp2/settings.py
@@ -97,6 +97,7 @@
97
98
ASGI_APPLICATION = "openwisp2.asgi.application"
99
100
+# Needed to test UI updates via websockets
101
CHANNEL_LAYERS = {
102
"default": {
103
"BACKEND": "channels_redis.core.RedisChannelLayer",
0 commit comments