diff options
author | 2019-05-29 16:22:30 -0700 | |
---|---|---|
committer | 2019-05-29 16:22:30 -0700 | |
commit | feaae8cab07b3db7d0baf3de7b7bb5b515e9acf8 (patch) | |
tree | b077a6b9f2f0f355bcb049ae0d933880a3b973fe /tests | |
parent | Enable branch coverage & disable app.py coverage (diff) |
Move SnekAPI import back to top of module
Diffstat (limited to 'tests')
-rw-r--r-- | tests/api/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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() |