From 78969f6ee51cd06e168c1335b31898d30535ffde Mon Sep 17 00:00:00 2001 From: drew2a Date: Tue, 26 Sep 2023 16:46:51 +0200 Subject: [PATCH] Fix tests --- .../metadata_store/tests/test_metadata_store_component.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tribler/core/components/metadata_store/tests/test_metadata_store_component.py b/src/tribler/core/components/metadata_store/tests/test_metadata_store_component.py index fdde51ffe50..3aaae2bc544 100644 --- a/src/tribler/core/components/metadata_store/tests/test_metadata_store_component.py +++ b/src/tribler/core/components/metadata_store/tests/test_metadata_store_component.py @@ -1,3 +1,4 @@ +from tribler.core.components.database.database_component import DatabaseComponent from tribler.core.components.ipv8.ipv8_component import Ipv8Component from tribler.core.components.key.key_component import KeyComponent from tribler.core.components.knowledge.knowledge_component import KnowledgeComponent @@ -9,7 +10,7 @@ async def test_metadata_store_component(tribler_config): - components = [KnowledgeComponent(), Ipv8Component(), KeyComponent(), MetadataStoreComponent()] + components = [DatabaseComponent(), KnowledgeComponent(), Ipv8Component(), KeyComponent(), MetadataStoreComponent()] async with Session(tribler_config, components) as session: comp = session.get_instance(MetadataStoreComponent) assert comp.started_event.is_set() and not comp.failed