mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2025-07-30 22:09:45 +03:00
minor bug fixes
This commit is contained in:
parent
3f806b13a2
commit
598c37db5a
|
@ -1,3 +1,4 @@
|
||||||
DATABASE_URL=
|
DATABASE_URL=
|
||||||
CELERY_BROKER_URL=
|
CELERY_BROKER_URL=
|
||||||
USE_DOCKER=
|
USE_DOCKER=
|
||||||
|
EMAIL_HOST=
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
.env
|
.env
|
||||||
|
.envs
|
||||||
.idea
|
.idea
|
||||||
### Python template
|
### Python template
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
import pytest
|
|
||||||
|
|
||||||
from akarpov.users.models import User
|
|
||||||
from akarpov.users.tests.factories import UserFactory
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
|
||||||
def media_storage(settings, tmpdir):
|
|
||||||
settings.MEDIA_ROOT = tmpdir.strpath
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
|
||||||
def user(db) -> User:
|
|
||||||
return UserFactory()
|
|
Loading…
Reference in New Issue
Block a user