From 57c6a171a715ed8f938e79df9468664a12627d38 Mon Sep 17 00:00:00 2001 From: stevenhua0320 Date: Mon, 8 Jul 2024 21:18:50 +0800 Subject: [PATCH] Add assertion back and pass both flake8 test and regolith test. --- tests/test_commands.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_commands.py b/tests/test_commands.py index f94278fa0..b8a81454b 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -38,6 +38,9 @@ def test_mongo_to_fs_python(make_mongo_to_fs_backup_db, make_mongodb): main(["mongo-to-fs"]) except Exception as e: print(e) + assert False + else: + assert True replace_rc_dbs(repo) os.chdir(repo) rc = copy.copy(DEFAULT_RC) @@ -63,6 +66,9 @@ def test_fs_to_mongo_python(make_fs_to_mongo_migration_db, make_mongodb): main(["fs-to-mongo"]) except Exception as e: print(e) + assert False + else: + assert True replace_rc_dbs(repo) os.chdir(repo) rc = copy.copy(DEFAULT_RC)