Commit bc8d1155 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][models] Use module wide asset_type fixture

parent 112d2369
......@@ -29,11 +29,6 @@ from ..backend.assetmodel import AssetModel, AssetType
from ..utils import dataformat_basetypes
@pytest.fixture(params=[item for item in AssetType if item is not AssetType.UNKNOWN])
def asset_type(request):
return request.param
@pytest.fixture(params=[item for item in AssetType if item.can_create()])
def creatable_asset_type(request):
return request.param
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment