'Test whether boosting manager dependencies works or not.
In all test, check dependencies always off. In production, it is on by default.'

def test_boosting_dependencies(self):

    self.bsettings.check_dependencies = True
    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()
    self.session.config.get_torrent_checking_enabled = (lambda : True)
    self.session.config.get_dispersy_enabled = (lambda : True)
    self.session.config.get_torrent_store_enabled = (lambda : True)
    self.session.config.get_torrent_search_enabled = (lambda : True)
    self.session.config.get_channel_search_enabled = (lambda : True)
    self.session.get_megacache_enabled = (lambda : False)
    self.assertRaises(AssertionError, bm.BoostingManager, self.session, self.bsettings)
