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: ...@@ -102,7 +102,7 @@ def owned_image(image_file, common_user1) -> Image:
@pytest.fixture @pytest.fixture
def public_domain_license() -> License: def public_domain_license() -> License:
return LicenseFactory() return LicenseFactory(identifier="pd", name="Public Domain")
@pytest.fixture @pytest.fixture
...@@ -301,3 +301,8 @@ def topic() -> Topic: ...@@ -301,3 +301,8 @@ def topic() -> Topic:
@pytest.fixture @pytest.fixture
def owner() -> User: def owner() -> User:
return OwnerFactory() 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