diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-14 15:54:21 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-14 15:54:21 +0100 |
commit | f312ec6d4a577e71d76cf85632a198b0c1913703 (patch) | |
tree | eccd268d4432c32b9fee6665e0bbba87967b6fef /pyblackbird_cc/conftest.py | |
parent | d2abe12612108b94135dcb0701614dc216fb92d2 (diff) |
wip: adding shopping card functionality
Diffstat (limited to 'pyblackbird_cc/conftest.py')
-rw-r--r-- | pyblackbird_cc/conftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pyblackbird_cc/conftest.py b/pyblackbird_cc/conftest.py index 966a3e5..ef8b62a 100644 --- a/pyblackbird_cc/conftest.py +++ b/pyblackbird_cc/conftest.py @@ -1,5 +1,6 @@ import pytest +from pyblackbird_cc.resources.factories import ResourceModelFactory from pyblackbird_cc.users.models import User from pyblackbird_cc.users.tests.factories import UserFactory @@ -12,3 +13,8 @@ def _media_storage(settings, tmpdir) -> None: @pytest.fixture() def user(db) -> User: return UserFactory() + + +@pytest.fixture() +def resource(): + return ResourceModelFactory() |