aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/conftest.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-14 20:20:48 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-14 20:20:48 +0100
commit8a13e1543334f86803cd9909ba3fa5d4619074c0 (patch)
tree05498d5ddc76840d8168c98b979e21d854d25efa /pyblackbird_cc/conftest.py
parentf312ec6d4a577e71d76cf85632a198b0c1913703 (diff)
wip: testing adding resources to shopping cart
Diffstat (limited to 'pyblackbird_cc/conftest.py')
-rw-r--r--pyblackbird_cc/conftest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyblackbird_cc/conftest.py b/pyblackbird_cc/conftest.py
index ef8b62a..aca12b2 100644
--- a/pyblackbird_cc/conftest.py
+++ b/pyblackbird_cc/conftest.py
@@ -18,3 +18,8 @@ def user(db) -> User:
@pytest.fixture()
def resource():
return ResourceModelFactory()
+
+
+@pytest.fixture()
+def resources():
+ return ResourceModelFactory.create_batch(5)