Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 9d8a61e

Browse files
Update test_utils.py
1 parent 9f365bd commit 9d8a61e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

utils/test_utils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ def app(self) -> str:
4545
migrate_to = None
4646

4747
def setUp(self) -> None:
48-
assert (
49-
self.migrate_from and self.migrate_to
50-
), "TestCase '{}' must define migrate_from and migrate_to properties".format(
51-
type(self).__name__
52-
)
48+
assert self.migrate_from and self.migrate_to, (
49+
"TestCase '{}' must define migrate_from and migrate_to properties".format(
50+
type(self).__name__
51+
)
52+
5353
self.migrate_from = [(self.app, self.migrate_from)]
5454
self.migrate_to = [(self.app, self.migrate_to)]
5555
executor = MigrationExecutor(connection)

0 commit comments

Comments
 (0)