diff --git a/.env.example b/.env.example index 68de5e4..0482cfa 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,4 @@ DATABASE_URL= CELERY_BROKER_URL= USE_DOCKER= +EMAIL_HOST= diff --git a/.gitignore b/.gitignore index e20bb86..6833abd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .env +.envs .idea ### Python template # Byte-compiled / optimized / DLL files diff --git a/akarpov/conftest.py b/akarpov/conftest.py deleted file mode 100644 index 0850c00..0000000 --- a/akarpov/conftest.py +++ /dev/null @@ -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()