Project

General

Profile

Download (227 Bytes) Statistics
| Branch: | Tag: | Revision:

root / tests / conftest.py @ 71e7c190

1
import pytest
2
import django_webtest
3

    
4
@pytest.fixture
5
def app(request):
6
    wtm = django_webtest.WebTestMixin()
7
    wtm._patch_settings()
8
    request.addfinalizer(wtm._unpatch_settings)
9
    return django_webtest.DjangoTestApp()
(1-1/3)