0001-tests-PEP8-30218.patch
tests/test_public.py | ||
---|---|---|
13 | 13 | |
14 | 14 |
from fargo.fargo.models import UserDocument |
15 | 15 | |
16 |
pytestmark = pytest.mark.django_db |
|
17 | ||
18 | 16 |
from test_manager import login |
19 | 17 | |
18 |
pytestmark = pytest.mark.django_db |
|
19 | ||
20 | 20 | |
21 | 21 |
def test_unlogged(app): |
22 | 22 |
assert urlparse.urlparse(app.get('/', status=302).location).path == '/login/' |
23 |
- |