significant palette overhaul, w. addition of +3 new palettes; new swatch preview appearance; expanded palette toggle functionality; repaired test suite accordingly
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -303,7 +303,8 @@ class SetPaletteTest(TestCase):
|
||||
response = self.client.get(self.url)
|
||||
parsed = lxml.html.fromstring(response.content)
|
||||
forms = parsed.cssselect('form[action="/dashboard/set_palette"]')
|
||||
self.assertEqual(len(forms), 1)
|
||||
unlocked = [p for p in response.context["palettes"] if not p["locked"]]
|
||||
self.assertEqual(len(forms), len(unlocked))
|
||||
|
||||
def test_active_palette_swatch_has_active_class(self):
|
||||
response = self.client.get(self.url)
|
||||
|
||||
Reference in New Issue
Block a user