Skip to content

Commit

Permalink
Add assertion back and pass both flake8 test and regolith test.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhua0320 committed Jul 8, 2024
1 parent 27fa7c2 commit 57c6a17
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 57c6a17

Please sign in to comment.