manually set save_files=True in unit tests

This commit is contained in:
Lex Berezhny 2021-08-19 09:31:17 -04:00
parent f14010bd5b
commit d5bae3a8c6

View file

@ -353,6 +353,7 @@ class CommandTestCase(IntegrationTestCase):
self.server_config = Config( self.server_config = Config(
data_dir=server_tmp_dir, data_dir=server_tmp_dir,
wallet_dir=server_tmp_dir, wallet_dir=server_tmp_dir,
save_files=True,
download_dir=server_tmp_dir download_dir=server_tmp_dir
) )
self.server_config.transaction_cache_size = 10000 self.server_config.transaction_cache_size = 10000
@ -395,6 +396,7 @@ class CommandTestCase(IntegrationTestCase):
# needed during instantiation to access known_hubs path # needed during instantiation to access known_hubs path
data_dir=wallet_node.data_path, data_dir=wallet_node.data_path,
wallet_dir=wallet_node.data_path, wallet_dir=wallet_node.data_path,
save_files=True,
download_dir=wallet_node.data_path download_dir=wallet_node.data_path
) )
conf.upload_dir = upload_dir # not a real conf setting conf.upload_dir = upload_dir # not a real conf setting