Move import to top

This commit is contained in:
Lukáš Kucharczyk 2021-06-25 20:45:49 +02:00
parent 59f8adf860
commit afd46ee7d2
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 3 additions and 2 deletions

View File

@ -1,10 +1,11 @@
from subprocess import CalledProcessError
import unittest
import subprocess
class FirstTestClass(unittest.TestCase):
class ArgumentTestClass(unittest.TestCase):
def test_argument_required(self):
import subprocess
with self.assertRaises(CalledProcessError):
subprocess.check_output(['python', 'manga_up'])