mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
export: Add basic export tests. (fixes #1584)
This commit is contained in:
@@ -1006,7 +1006,8 @@ def do_export_realm(realm, output_dir, threads, exportable_user_ids=None):
|
||||
# We need at least one thread running to export
|
||||
# UserMessage rows. The management command should
|
||||
# enforce this for us.
|
||||
assert threads >= 1
|
||||
if not settings.TEST_SUITE:
|
||||
assert threads >= 1
|
||||
|
||||
assert os.path.exists("./manage.py")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user