tests: clean custom views after test_lazy_global_forms
This commit is contained in:
parent
5b19ab7fd9
commit
7c645bbab0
|
@ -1700,6 +1700,8 @@ def test_lazy_global_forms(pub):
|
|||
tmpl = Template('{{forms|objects:"foobarlazy"|with_custom_view:"unknown"|count}}')
|
||||
assert tmpl.render(context) == '0'
|
||||
|
||||
pub.custom_view_class.wipe()
|
||||
|
||||
|
||||
def test_lazy_variables(pub, variable_test_data):
|
||||
formdata = FormDef.select()[0].data_class().select()[0]
|
||||
|
|
Loading…
Reference in New Issue