File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -143,18 +143,18 @@ def test_unauthorized_database(db_creds_test):
143
143
)
144
144
145
145
146
- def test_drop_database (db_creds_test ):
146
+ def test_drop_database (db_creds_test , prefix ):
147
147
schema = dj .Schema (
148
- PREFIX + "_drop_test" , connection = dj .conn (reset = True , ** db_creds_test )
148
+ prefix + "_drop_test" , connection = dj .conn (reset = True , ** db_creds_test )
149
149
)
150
150
assert schema .exists
151
151
schema .drop ()
152
152
assert not schema .exists
153
153
schema .drop () # should do nothing
154
154
155
155
156
- def test_overlapping_name (connection_test ):
157
- test_schema = dj .Schema (PREFIX + "_overlapping_schema" , connection = connection_test )
156
+ def test_overlapping_name (connection_test , prefix ):
157
+ test_schema = dj .Schema (prefix + "_overlapping_schema" , connection = connection_test )
158
158
159
159
@test_schema
160
160
class Unit (dj .Manual ):
You can’t perform that action at this time.
0 commit comments