manga_up/tests/test_arguments.py

13 lines
306 B
Python

from subprocess import CalledProcessError
import unittest
import subprocess
class ArgumentTestClass(unittest.TestCase):
def test_argument_required(self):
with self.assertRaises(CalledProcessError):
subprocess.check_output(['python', 'manga_up'])
if __name__ == '__main__':
unittest.main()