diff --git a/test.py b/test.py index 0a50c4f..22407a4 100644 --- a/test.py +++ b/test.py @@ -57,7 +57,6 @@ class TestArgClass(unittest.TestCase): A.parse_args(['--arg3', 'welt']) - def test__boolean_true(self): @argclass @@ -66,7 +65,6 @@ class TestArgClass(unittest.TestCase): assert A.parse_args(['--arg3']) == A(arg3=True) - def test__boolean_false(self): @argclass @@ -98,8 +96,11 @@ class TestArgClass(unittest.TestCase): class A: arg5: List - assert A.parse_args(['--arg5', 'hello', 'world']) == A(arg5=['hello', 'world']) - + assert ( + A.parse_args(['--arg5', 'hello', 'world']) + == + A(arg5=['hello', 'world']) + ) def test__list_str(self): @@ -107,8 +108,11 @@ class TestArgClass(unittest.TestCase): class A: arg5: List[str] - assert A.parse_args(['--arg5', 'hello', 'world']) == A(arg5=['hello', 'world']) - + assert ( + A.parse_args(['--arg5', 'hello', 'world']) + == + A(arg5=['hello', 'world']) + ) def test__list_int(self):