From 598c37db5ab2e67250553d3f0ce626dd86abf14d Mon Sep 17 00:00:00 2001 From: Alexandr Karpov Date: Fri, 18 Nov 2022 10:28:40 +0300 Subject: [PATCH] minor bug fixes --- .env.example | 1 + .gitignore | 1 + akarpov/conftest.py | 14 -------------- 3 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 akarpov/conftest.py 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()