Skip to content

Commit c9a42d1

Browse files
authored
Stop using assertEqual use assert instead (#382)
1 parent fdee05e commit c9a42d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_prometheus/tests/end2end/testapp/test_migrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_counters(self):
2424
executor.migration_plan.return_value = set()
2525
executor.loader.applied_migrations = {"a", "b", "c"}
2626
ExportMigrationsForDatabase("fakedb1", executor)
27-
self.assertEqual(executor.migration_plan.call_count, 1)
27+
assert executor.migration_plan.call_count == 1
2828
executor.migration_plan = MagicMock()
2929
executor.migration_plan.return_value = {"a"}
3030
executor.loader.applied_migrations = {"b", "c"}

0 commit comments

Comments
 (0)