mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
slack importer: Move output folder being extracted from /tmp to var/.
This commit is contained in:
@@ -500,7 +500,7 @@ class SlackImporter(ZulipTestCase):
|
|||||||
test_slack_unzipped_file = os.path.join(test_slack_dir, "test_slack_importer")
|
test_slack_unzipped_file = os.path.join(test_slack_dir, "test_slack_importer")
|
||||||
|
|
||||||
test_realm_subdomain = 'test-slack-import'
|
test_realm_subdomain = 'test-slack-import'
|
||||||
output_dir = '/tmp/test-slack-importer-data'
|
output_dir = os.path.join(settings.DEPLOY_ROOT, "var", "test-slack-importer-data")
|
||||||
token = 'valid-token'
|
token = 'valid-token'
|
||||||
|
|
||||||
# If the test fails, the 'output_dir' would not be deleted and hence it would give an
|
# If the test fails, the 'output_dir' would not be deleted and hence it would give an
|
||||||
|
|||||||
Reference in New Issue
Block a user