Skip to content

Commit

Permalink
Fix GUI tests not starting after refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ichorid authored and drew2a committed Sep 27, 2021
1 parent 56115aa commit 7ccc387
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/tribler-core/tribler_core/start_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
import sys
from typing import List

import tribler_core
from tribler_common.sentry_reporter.sentry_reporter import SentryReporter, SentryStrategy
from tribler_common.simpledefs import NTFY
from tribler_common.version_manager import VersionHistory

import tribler_core
from tribler_core.check_os import check_and_enable_code_tracing, set_process_priority
from tribler_core.components.base import Component, Session
from tribler_core.components.bandwidth_accounting import BandwidthAccountingComponent
from tribler_core.components.base import Component, Session
from tribler_core.components.gigachannel import GigaChannelComponent
from tribler_core.components.gigachannel_manager import GigachannelManagerComponent
from tribler_core.components.ipv8 import Ipv8Component
Expand Down Expand Up @@ -53,12 +54,12 @@ def components_gen(config: TriblerConfig):
if config.ipv8.enabled:
yield Ipv8Component()
yield MasterKeyComponent()
if config.libtorrent.enabled:
yield SocksServersComponent()
if config.libtorrent.enabled:
yield LibtorrentComponent()
if config.ipv8.enabled and config.chant.enabled:
yield GigaChannelComponent()
if config.ipv8.enabled and config.popularity_community.enabled:
yield PopularityComponent()
if config.ipv8.enabled:
yield BandwidthAccountingComponent()
if config.resource_monitor.enabled:
Expand All @@ -68,16 +69,16 @@ def components_gen(config: TriblerConfig):
if config.gui_test_mode:
return

if config.libtorrent.enabled:
yield SocksServersComponent()
if config.torrent_checking.enabled:
yield TorrentCheckerComponent()
if config.ipv8.enabled and config.popularity_community.enabled:
yield PopularityComponent()
if config.upgrader_enabled:
yield UpgradeComponent()
if config.ipv8.enabled and config.tunnel_community.enabled:
yield TunnelsComponent()
if config.ipv8.enabled:
yield PayoutComponent()
if config.torrent_checking.enabled:
yield TorrentCheckerComponent()
if config.watch_folder.enabled:
yield WatchFolderComponent()
if config.general.version_checker_enabled:
Expand Down

0 comments on commit 7ccc387

Please sign in to comment.