aboutsummaryrefslogtreecommitdiff
path: root/tests/models/gr/test_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/models/gr/test_base.py')
-rw-r--r--tests/models/gr/test_base.py7
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