diff options
| author | Max Nanis | 2026-09-02 18:32:06 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-09-02 18:32:06 -0700 |
| commit | d36994dd21a2bc025188a1ab58334915221f22cc (patch) | |
| tree | e493b319fb5db8563f765a9364c1b56a4fc45779 | |
| parent | 4a4e5293777aa0fe5fb5bee4e61b1c6f735b4c13 (diff) | |
| download | generalresearch-d36994dd21a2bc025188a1ab58334915221f22cc.tar.gz generalresearch-d36994dd21a2bc025188a1ab58334915221f22cc.zip | |
db tests messed up when running isolated pytests
| -rw-r--r-- | tests/models/gr/test_base.py | 14 |
1 files changed, 0 insertions, 14 deletions
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 |
