From feaae8cab07b3db7d0baf3de7b7bb5b515e9acf8 Mon Sep 17 00:00:00 2001 From: MarkKoz Date: Wed, 29 May 2019 16:22:30 -0700 Subject: Move SnekAPI import back to top of module --- tests/api/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/api/__init__.py') diff --git a/tests/api/__init__.py b/tests/api/__init__.py index 745519d..fd4679a 100644 --- a/tests/api/__init__.py +++ b/tests/api/__init__.py @@ -2,6 +2,8 @@ from unittest import mock from falcon import testing +from snekbox.api import SnekAPI + class SnekAPITestCase(testing.TestCase): def setUp(self): @@ -12,5 +14,4 @@ class SnekAPITestCase(testing.TestCase): self.mock_nsjail.return_value.python3.return_value = "test output" self.addCleanup(self.patcher.stop) - from snekbox.api import SnekAPI self.app = SnekAPI() -- cgit v1.2.3