Run tests in debug mode
This commit is contained in:
parent
f83c77e7ea
commit
f970815645
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,7 @@ fmt = logging.Formatter(fmt='+%(relative)ss %(levelname)-8s %(name)s %(message)s
|
||||||
from Plugin import PluginManager
|
from Plugin import PluginManager
|
||||||
|
|
||||||
config.data_dir = TEST_DATA_PATH # Use test data for unittests
|
config.data_dir = TEST_DATA_PATH # Use test data for unittests
|
||||||
|
config.debug = True
|
||||||
|
|
||||||
os.chdir(os.path.abspath(os.path.dirname(__file__) + "/../..")) # Set working dir
|
os.chdir(os.path.abspath(os.path.dirname(__file__) + "/../..")) # Set working dir
|
||||||
|
|
||||||
|
@ -85,6 +86,7 @@ config.loadPlugins()
|
||||||
config.parse(parse_config=False) # Parse again to add plugin configuration options
|
config.parse(parse_config=False) # Parse again to add plugin configuration options
|
||||||
|
|
||||||
config.action = "test"
|
config.action = "test"
|
||||||
|
config.debug = True
|
||||||
config.debug_socket = True # Use test data for unittests
|
config.debug_socket = True # Use test data for unittests
|
||||||
config.verbose = True # Use test data for unittests
|
config.verbose = True # Use test data for unittests
|
||||||
config.tor = "disable" # Don't start Tor client
|
config.tor = "disable" # Don't start Tor client
|
||||||
|
|
Loading…
Reference in a new issue