Skip to content

Commit c98edb6

Browse files
author
Chris Turner
committed
test/test_schema.py: fix reconnection
1 parent 95edece commit c98edb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_unauthorized_database():
6868
"""
6969
an attempt to create a database to which user has no privileges should raise an informative exception.
7070
"""
71-
dj.Schema('unauthorized_schema', connection=dj.conn(**CONN_INFO))
71+
dj.Schema('unauthorized_schema', connection=dj.conn(reset=True, **CONN_INFO))
7272

7373

7474
def test_drop_database():

0 commit comments

Comments
 (0)