Exemple #1
0
 def setup_config(self):
     config_dir = common.set_tmp_config_dir()
     core_config = deluge.config.Config(
         'core.conf',
         defaults=deluge.core.preferencesmanager.DEFAULT_PREFS,
         config_dir=config_dir)
     core_config.save()
Exemple #2
0
 def set_up(self):
     defer.setDebugging(True)
     tests_common.set_tmp_config_dir()
     client.start_standalone()
     client.core.enable_plugin('Stats')
     return component.start()
 def setup_config(self):
     config_dir = common.set_tmp_config_dir()
     core_config = deluge.config.Config('core.conf', defaults=deluge.core.preferencesmanager.DEFAULT_PREFS,
                                        config_dir=config_dir)
     core_config.save()
Exemple #4
0
 def set_up(self):
     common.set_tmp_config_dir()
     self.rpcserver = RPCServer(listen=False)
     self.core = Core()
     return component.start()
 def set_up(self):
     common.set_tmp_config_dir()
     self.rpcserver = RPCServer(listen=False)
     self.core = Core()
     return component.start()