From 90a4b4934a34ef1aab5df2947bcf59a90933b8a0 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 24 Sep 2024 14:58:46 -0700 Subject: [PATCH] text_fixtures: Fix buggy skip-checks placement. --- zerver/lib/test_fixtures.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/zerver/lib/test_fixtures.py b/zerver/lib/test_fixtures.py index 19ce654fba..91f634287c 100644 --- a/zerver/lib/test_fixtures.py +++ b/zerver/lib/test_fixtures.py @@ -103,12 +103,18 @@ class Database: "DJANGO_SETTINGS_MODULE=" + self.settings, "ZULIP_DB_NAME=" + self.database_name, "./manage.py", - "--skip-checks", ] - run([*manage_py, "migrate", "--no-input"]) + run([*manage_py, "migrate", "--skip-checks", "--no-input"]) - run([*manage_py, "get_migration_status", "--output=" + self.migration_status_file]) + run( + [ + *manage_py, + "get_migration_status", + "--skip-checks", + "--output=" + self.migration_status_file, + ] + ) def what_to_do_with_migrations(self) -> str: status_fn = self.migration_status_path