From f77e73ed62e3340212abe1d7e4eb2d2cd65c0f88 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Tue, 22 Oct 2024 10:07:00 -0700 Subject: [PATCH] increase code coverage to 95% --- tests/app/test_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/app/test_commands.py b/tests/app/test_commands.py index 46dd2b0c1..62cafc079 100644 --- a/tests/app/test_commands.py +++ b/tests/app/test_commands.py @@ -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