aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/conftest.py')
-rw-r--r--pyblackbird_cc/conftest.py6
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()