From f7b822b9506975d102fb4166878694ef66085732 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 11 Aug 2023 13:58:35 -0700 Subject: [PATCH] more fix because local is different for some reason --- tests/app/test_commands.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/app/test_commands.py b/tests/app/test_commands.py index ee8b4bd57..a1510b6f4 100644 --- a/tests/app/test_commands.py +++ b/tests/app/test_commands.py @@ -25,12 +25,6 @@ from tests.app.db import ( def test_purge_functional_test_data(notify_db_session, notify_api, test_e_address, expected_users): user_count = User.query.count() - if user_count > 0: - users = User.query.all() - for user in users: - notify_db_session.delete(user) - notify_db_session.commit() - user_count = User.query.count() assert user_count == 0 notify_api.test_cli_runner().invoke(