diff --git a/conftest.py b/conftest.py index a640db7822fd7ec1bc313b40cc103f213cf33403..199f5471250b2108720e00ceb1fd60a52d778ca7 100644 --- a/conftest.py +++ b/conftest.py @@ -102,7 +102,7 @@ def owned_image(image_file, common_user1) -> Image: @pytest.fixture def public_domain_license() -> License: - return LicenseFactory() + return LicenseFactory(identifier="pd", name="Public Domain") @pytest.fixture @@ -301,3 +301,8 @@ def topic() -> Topic: @pytest.fixture def owner() -> User: return OwnerFactory() + + +@pytest.fixture +def license_() -> License: + return LicenseFactory()