mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
653b0b0436
commit
f223251ffe
@@ -2588,9 +2588,9 @@ class MigrationsTestCase(ZulipTransactionTestCase): # nocoverage
|
||||
@override
|
||||
def setUp(self) -> None:
|
||||
super().setUp()
|
||||
assert (
|
||||
self.migrate_from and self.migrate_to
|
||||
), f"TestCase '{type(self).__name__}' must define migrate_from and migrate_to properties"
|
||||
assert self.migrate_from and self.migrate_to, (
|
||||
f"TestCase '{type(self).__name__}' must define migrate_from and migrate_to properties"
|
||||
)
|
||||
migrate_from: list[tuple[str, str]] = [(self.app, self.migrate_from)]
|
||||
migrate_to: list[tuple[str, str]] = [(self.app, self.migrate_to)]
|
||||
executor = MigrationExecutor(connection)
|
||||
|
||||
Reference in New Issue
Block a user