From 7b636a99af3c9a632dd665cb5e0bdaa494068f7c Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Mon, 4 Nov 2024 14:21:31 +0100 Subject: [PATCH] Avoid skipping the migration test --- tests/test_migrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_migrations.py b/tests/test_migrations.py index 6271474b..e6b12141 100644 --- a/tests/test_migrations.py +++ b/tests/test_migrations.py @@ -37,7 +37,7 @@ def test_for_missing_migrations(self): self.fail(f'There are missing migrations:\n {output.getvalue()}') @skipIf( - __version__ > '5' or cms_version < "4", + __version__[0] > '5' or cms_version < "4", "Migration has already been tested before releasing version 5", ) class MigrationToVersion5(MigratorTestCase):