mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 19:06:09 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit f223251ffe)
This commit is contained in:
committed by
Tim Abbott
parent
cd485ef162
commit
d28639c08e
@@ -2537,9 +2537,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