From d36994dd21a2bc025188a1ab58334915221f22cc Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Wed, 2 Sep 2026 18:32:06 -0700 Subject: db tests messed up when running isolated pytests --- tests/models/gr/test_base.py | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'tests') diff --git a/tests/models/gr/test_base.py b/tests/models/gr/test_base.py index 56603bf..5ab5dff 100644 --- a/tests/models/gr/test_base.py +++ b/tests/models/gr/test_base.py @@ -39,17 +39,3 @@ class TestGRPostgresDjangoCreation: dsn = django_db_factory("gr.common") assert isinstance(dsn, PostgresDsn) - - def test_django_tables(self, gr_db: PostgresConfig): - """ - WARNING: This will always be the thl_django tables in addition - to the GR tables due to the way our fixtures are loaded. - """ - - res = gr_db.execute_sql_query(query=""" - SELECT COUNT(*) - FROM information_schema.tables - WHERE table_schema = 'public'; - """) - assert len(res) == 1 - assert res[0]["count"] == 65 -- cgit v1.2.3