Move import to top
This commit is contained in:
parent
59f8adf860
commit
afd46ee7d2
|
@ -1,10 +1,11 @@
|
||||||
from subprocess import CalledProcessError
|
from subprocess import CalledProcessError
|
||||||
import unittest
|
import unittest
|
||||||
|
import subprocess
|
||||||
|
|
||||||
class FirstTestClass(unittest.TestCase):
|
|
||||||
|
class ArgumentTestClass(unittest.TestCase):
|
||||||
|
|
||||||
def test_argument_required(self):
|
def test_argument_required(self):
|
||||||
import subprocess
|
|
||||||
with self.assertRaises(CalledProcessError):
|
with self.assertRaises(CalledProcessError):
|
||||||
subprocess.check_output(['python', 'manga_up'])
|
subprocess.check_output(['python', 'manga_up'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue