aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_frontend.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_frontend.py b/tests/test_frontend.py
index 0005d6c..517c674 100644
--- a/tests/test_frontend.py
+++ b/tests/test_frontend.py
@@ -78,6 +78,10 @@ class Frontend(unittest.TestCase):
for name in names:
self.assert_panel(name)
+ def test_panels_have_their_scoped_wrapper(self):
+ self.assertIn(b'class="music"', self.get("/modules/music.js")[1])
+ self.assertIn(b'class="sbb"', self.get("/modules/sbbuilder.js")[1])
+
def test_tabbed_shell(self):
self.assertIn(b'id="tabs"', self.get("/")[1])
self.assertIn(b'id="tab-body"', self.get("/")[1])