From 4adceae4971fdf6882794ce36b9aa750b312cb28 Mon Sep 17 00:00:00 2001 From: Pavel Lutskov Date: Sat, 27 Mar 2021 15:54:37 +0100 Subject: [PATCH] Fix style in tests --- test.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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):