Use list instead of tuple to avoid errors with missing comma.

This commit is contained in:
Emil Stenström 2019-11-23 19:26:16 +01:00
parent 8abf8c5e3b
commit ebb180c540
4 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@ class SimpleComponent(component.Component):
class Media:
template = "simple_template.html"
css = {"all": "style.css"}
js = ("script.js",)
js = ["script.js"]
class ComponentRegistryTest(unittest.TestCase):
def test_simple_component(self):