mirror of
https://github.com/django-components/django-components.git
synced 2025-09-02 20:27:20 +00:00
* refactor: Cache components' JS and CSS scripts at class creation time * refactor: add test for no template_rendered signal for component with no template
This commit is contained in:
parent
007009a480
commit
c692b7a310
13 changed files with 138 additions and 58 deletions
|
@ -103,6 +103,7 @@ class TestExtensionsListCommand:
|
|||
"===============\n"
|
||||
"cache \n"
|
||||
"defaults \n"
|
||||
"dependencies \n"
|
||||
"view \n"
|
||||
"debug_highlight"
|
||||
)
|
||||
|
@ -121,6 +122,7 @@ class TestExtensionsListCommand:
|
|||
"===============\n"
|
||||
"cache \n"
|
||||
"defaults \n"
|
||||
"dependencies \n"
|
||||
"view \n"
|
||||
"debug_highlight\n"
|
||||
"empty \n"
|
||||
|
@ -141,6 +143,7 @@ class TestExtensionsListCommand:
|
|||
"===============\n"
|
||||
"cache \n"
|
||||
"defaults \n"
|
||||
"dependencies \n"
|
||||
"view \n"
|
||||
"debug_highlight\n"
|
||||
"empty \n"
|
||||
|
@ -161,6 +164,7 @@ class TestExtensionsListCommand:
|
|||
"===============\n"
|
||||
"cache \n"
|
||||
"defaults \n"
|
||||
"dependencies \n"
|
||||
"view \n"
|
||||
"debug_highlight\n"
|
||||
"empty \n"
|
||||
|
@ -179,6 +183,7 @@ class TestExtensionsListCommand:
|
|||
assert output.strip() == (
|
||||
"cache \n"
|
||||
"defaults \n"
|
||||
"dependencies \n"
|
||||
"view \n"
|
||||
"debug_highlight\n"
|
||||
"empty \n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue