slack importer: Move output folder being extracted from /tmp to var/.

This commit is contained in:
Rhea Parekh
2018-03-09 22:33:38 +05:30
committed by Tim Abbott
parent b7d6608ba6
commit 6f3c87006b

View File

@@ -500,7 +500,7 @@ class SlackImporter(ZulipTestCase):
test_slack_unzipped_file = os.path.join(test_slack_dir, "test_slack_importer")
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'
# If the test fails, the 'output_dir' would not be deleted and hence it would give an