Skip to content

Commit 2778d13

Browse files
committed
fixing test
1 parent cc16b1f commit 2778d13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

piccolo/apps/migrations/auto/integration/test_migrations.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
class TestMigrations(TestCase):
2020
def tearDown(self):
21-
create_table_class("MyTable").alter().drop_table(if_exists=True)
21+
create_table_class("MyTable").alter().drop_table(
22+
if_exists=True
23+
).run_sync()
2224

2325
def run_migrations(self, app_config: AppConfig):
2426
manager = ForwardsMigrationManager(app_name=app_config.app_name)

0 commit comments

Comments
 (0)