Skip to content

Commit 721d5a0

Browse files
committed
move import to the top of the file.
1 parent c6b69d8 commit 721d5a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

django_prometheus/tests/end2end/testapp/test_migrations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from django.test import SimpleTestCase
44

5+
from django_prometheus.migrations import ExportMigrationsForDatabase
56
from django_prometheus.testutils import PrometheusTestCaseMixin
67

78
if sys.version_info[:2] >= (3, 0):
@@ -23,8 +24,6 @@ class TestMigrations(PrometheusTestCaseMixin, SimpleTestCase):
2324
"""Test migration counters."""
2425

2526
def test_counters(self):
26-
from django_prometheus.migrations import ExportMigrationsForDatabase
27-
2827
executor = MagicMock()
2928
executor.migration_plan = MagicMock()
3029
executor.migration_plan.return_value = set()

0 commit comments

Comments
 (0)