Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Sep 26, 2023
1 parent 5260aff commit 78969f6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 78969f6

Please sign in to comment.