aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_frontend.py')
-rw-r--r--tests/test_frontend.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_frontend.py b/tests/test_frontend.py
index cdd31fc..4f8392b 100644
--- a/tests/test_frontend.py
+++ b/tests/test_frontend.py
@@ -74,6 +74,13 @@ class Frontend(unittest.TestCase):
for name in names:
self.assert_panel(name)
+ def test_layout_is_browser_local(self):
+ status, body = self.get("/app.js")
+ self.assertEqual(status, 200)
+ text = body.decode()
+ for part in ("localStorage", "deckit.layout", "drag-handle", "resize-handle", "wide"):
+ self.assertIn(part, text)
+
if __name__ == "__main__":
unittest.main()