Skip to content

Commit

Permalink
Fix Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Sep 29, 2021
1 parent 0275608 commit 4621f31
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from unittest.mock import patch

import pytest

from tribler_core.components.bandwidth_accounting.bandwidth_accounting_component import BandwidthAccountingComponent
Expand All @@ -19,7 +17,6 @@
from tribler_core.components.upgrade import UpgradeComponent
from tribler_core.components.version_check import VersionCheckComponent
from tribler_core.components.watch_folder import WatchFolderComponent
from tribler_core.restapi.rest_manager import RESTManager

pytestmark = pytest.mark.asyncio

Expand Down Expand Up @@ -50,21 +47,6 @@ def test_session_context_manager(loop, tribler_config):
Session.current()


<<<<<<< main
async def test_masterkey_component(tribler_config):
session = Session(tribler_config, [MasterKeyComponent()])
with session:
await session.start()

comp = MasterKeyComponent.instance()
assert comp.started.is_set() and not comp.failed
assert comp.keypair

await session.shutdown()


=======
>>>>>>> Merge masterkey
async def test_ipv8_component(tribler_config):
tribler_config.ipv8.enabled = True
components = [MasterKeyComponent(), RESTComponent(), Ipv8Component()]
Expand Down

0 comments on commit 4621f31

Please sign in to comment.