<filename>cognitev/conftest.py
# import pytest
# from django.conf import settings
# from django.test import RequestFactory
#
# from cognitev.users.tests.factories import UserFactory
#
#
# @pytest.fixture(autouse=True)
# def media_storage(settings, tmpdir):
#     settings.MEDIA_ROOT = tmpdir.strpath
#
#
# @pytest.fixture
# def user() -> settings.AUTH_USER_MODEL:
#     return UserFactory()
#
#
# @pytest.fixture
# def request_factory() -> RequestFactory:
#     return RequestFactory()

<filename>cognitev/conftest.py
# import pytest
# from django.conf import settings
# from django.test import RequestFactory
#
# from cognitev.users.tests.factories import UserFactory
#
#
# @pytest.fixture(autouse=True)
# def media_storage(settings, tmpdir):
#     settings.MEDIA_ROOT = tmpdir.strpath
#
#
# @pytest.fixture
# def user() -> settings.AUTH_USER_MODEL:
#     return UserFactory()
#
#
# @pytest.fixture
# def request_factory() -> RequestFactory:
#     return RequestFactory()

# import pytest # from django.conf import settings # from django.test import RequestFactory # # from cognitev.users.tests.factories import UserFactory # # # @pytest.fixture(autouse=True) # def media_storage(settings, tmpdir): #     settings.MEDIA_ROOT = tmpdir.strpath # # # @pytest.fixture # def user() -> settings.AUTH_USER_MODEL: #     return UserFactory() # # # @pytest.fixture # def request_factory() -> RequestFactory: #     return RequestFactory()