Skip to content

Commit

Permalink
Avoid skipping the migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Nov 4, 2024
1 parent 7b7c0ab commit 7b636a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7b636a9

Please sign in to comment.