From afd46ee7d2432bfaffacb2885589e3ad7a83dca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Fri, 25 Jun 2021 20:45:49 +0200 Subject: [PATCH] Move import to top --- tests/test_arguments.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_arguments.py b/tests/test_arguments.py index 07bf5b1..b30ac13 100644 --- a/tests/test_arguments.py +++ b/tests/test_arguments.py @@ -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'])