'Test load default configuration in BoostingManager'

def test_load_default(self):

    self.bsettings.load_config = True
    self.bsettings.auto_start_source = False
    self.bsettings.initial_swarm_interval = 9000
    self.bsettings.initial_tracker_interval = 9000
    self.bsettings.initial_logging_interval = 9000
    self.session.open_dbhandler = (lambda _: None)
    self.session.lm.ltmgr = MockLtSession()
    boost_man = bm.BoostingManager(self.session, self.bsettings)
    self.assertEqual(self.session.config.get_credit_mining_source_interval(), boost_man.settings.source_interval)
    self.assertEqual(self.session.config.get_credit_mining_archive_sources(), [source_to_string(src.source) for src in boost_man.boosting_sources.values() if src.archive])
    boost_man.cancel_all_pending_tasks()
