We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdee05e commit c9a42d1Copy full SHA for c9a42d1
django_prometheus/tests/end2end/testapp/test_migrations.py
@@ -24,7 +24,7 @@ def test_counters(self):
24
executor.migration_plan.return_value = set()
25
executor.loader.applied_migrations = {"a", "b", "c"}
26
ExportMigrationsForDatabase("fakedb1", executor)
27
- self.assertEqual(executor.migration_plan.call_count, 1)
+ assert executor.migration_plan.call_count == 1
28
executor.migration_plan = MagicMock()
29
executor.migration_plan.return_value = {"a"}
30
executor.loader.applied_migrations = {"b", "c"}
0 commit comments