Skip to content
Snippets Groups Projects
Verified Commit 61d6c7ae authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

test: add fixture for license

parent 3ea64efd
No related branches found
No related tags found
No related merge requests found
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment