From 443dd9f18fbdc5875391831dc70efdd51a733e1a Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 25 Nov 2021 10:56:45 +0000 Subject: [PATCH] Fix user count assertion in UI tests --- app/tests/integ/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tests/integ/utils.py b/app/tests/integ/utils.py index 099dc2e4..ecf70e63 100644 --- a/app/tests/integ/utils.py +++ b/app/tests/integ/utils.py @@ -38,7 +38,7 @@ def client(): app.config['WTF_CSRF_ENABLED'] = False recreate_db() - assert User.query.count() == 1 + assert User.query.count() == 2 with app.test_client() as client: yield client