diff options
| author | Max Nanis | 2026-09-02 18:29:22 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-09-02 18:29:22 -0700 |
| commit | 4a4e5293777aa0fe5fb5bee4e61b1c6f735b4c13 (patch) | |
| tree | 28b8e469900e920286ff7dc2b5124cb83c0def2f /tests/models/gr/test_base.py | |
| parent | fe531d691d75193619d43abf22d22599171539fd (diff) | |
| download | generalresearch-4a4e5293777aa0fe5fb5bee4e61b1c6f735b4c13.tar.gz generalresearch-4a4e5293777aa0fe5fb5bee4e61b1c6f735b4c13.zip | |
WIP tests/models/gr
Diffstat (limited to 'tests/models/gr/test_base.py')
| -rw-r--r-- | tests/models/gr/test_base.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/models/gr/test_base.py b/tests/models/gr/test_base.py index fba0960..56603bf 100644 --- a/tests/models/gr/test_base.py +++ b/tests/models/gr/test_base.py @@ -41,10 +41,15 @@ class TestGRPostgresDjangoCreation: 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"] == 10 + assert res[0]["count"] == 65 |
