Skip to content

Commit e53b46d

Browse files
authored
Update test_database.py
1 parent de5b18f commit e53b46d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def django_db_createdb(request, django_db_createdb) -> bool:
525525
print(run_sql(query="SELECT * FROM pg_available_extensions;", fetch=True))
526526
db_exists = (result := run_sql(query=f"SELECT EXISTS (SELECT 1 FROM pg_database WHERE datname='{db_name}')", fetch=True)) and result and result[0]
527527
if django_db_createdb or not db_exists:
528-
run_sql('CREATE EXTENSION IF NOT EXISTS postgis')
528+
run_sql('CREATE EXTENSION IF NOT EXISTS hstore')
529529
return django_db_createdb or not db_exists
530530
531531
@pytest.fixture(scope='session')

0 commit comments

Comments
 (0)