increase code coverage to 95%

This commit is contained in:
Kenneth Kehl
2024-10-22 10:07:00 -07:00
parent f4f6312206
commit f77e73ed62

View File

@@ -91,7 +91,8 @@ def test_purge_functional_test_data_bad_mobile(notify_db_session, notify_api):
"Fake Personson",
],
)
# The bad mobile phone number results in a bad parameter error, leading to a system exit 2 and no entry made in db
# The bad mobile phone number results in a bad parameter error,
# leading to a system exit 2 and no entry made in db
assert "SystemExit(2)" in str(command_response)
user_count = User.query.count()
assert user_count == 0