Commit 0d92f17e authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][assetwidget] Refresh prefix between tests

This ensure that all needed assets are available for tests
parent b36b7a81
......@@ -48,6 +48,8 @@ from ..widgets.toolchaineditor import ToolchainEditor
from ..backend.assetmodel import AssetType
from ..backend.assetmodel import AssetModel
from .conftest import sync_prefix
def asset_type_prefix_entry_map():
......@@ -70,6 +72,11 @@ def asset_type_prefix_entry_map():
class TestAssetWidget:
"""Test that the AssetWidget works correctly"""
def synced_prefix(self):
"""Re sync the prefix between test"""
def test_matching_editor(
self, qtbot, test_prefix, beat_context, asset_type_prefix_entry_map
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