diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-14 20:20:48 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-14 20:20:48 +0100 |
commit | 8a13e1543334f86803cd9909ba3fa5d4619074c0 (patch) | |
tree | 05498d5ddc76840d8168c98b979e21d854d25efa /pyblackbird_cc/conftest.py | |
parent | f312ec6d4a577e71d76cf85632a198b0c1913703 (diff) |
wip: testing adding resources to shopping cart
Diffstat (limited to 'pyblackbird_cc/conftest.py')
-rw-r--r-- | pyblackbird_cc/conftest.py | 5 |
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) |