0001-tests-remove-unnecessary-request-finalizer-for-setti.patch
tests/conftest.py | ||
---|---|---|
19 | 19 | |
20 | 20 |
@pytest.fixture |
21 | 21 |
def app(request, clean_media): |
22 |
wtm = django_webtest.WebTestMixin() |
|
23 |
wtm._patch_settings() |
|
24 |
request.addfinalizer(wtm._unpatch_settings) |
|
25 | 22 |
return django_webtest.DjangoTestApp() |
26 | 23 | |
27 | 24 | |
28 |
- |