Skip to content

Commit eb9db6d

Browse files
committed
Fix ordering of the imports
1 parent da0b18f commit eb9db6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template_profiler_panel/tests/test_template.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import unittest
55
import os
66

7+
os.environ['DJANGO_SETTINGS_MODULE'] = 'template_profiler_panel.tests.dummy_settings'
8+
79
try:
810
from mock import MagicMock
911
except ImportError:
@@ -14,9 +16,6 @@
1416

1517
from template_profiler_panel.panels.template import TemplateProfilerPanel, template_rendered
1618

17-
os.environ['DJANGO_SETTINGS_MODULE'] = 'template_profiler_panel.tests.dummy_settings'
18-
application = get_wsgi_application()
19-
2019

2120
class TemplateProfilerPanelTestCase(unittest.TestCase):
2221
def setUp(self):
@@ -68,5 +67,6 @@ def test_template(self):
6867

6968

7069
if __name__ == '__main__':
70+
application = get_wsgi_application()
7171
unittest.main()
7272

0 commit comments

Comments
 (0)