Skip to content

Commit f99c2b7

Browse files
committed
make test args optional
Signed-off-by: Zen <[email protected]>
1 parent e992ec7 commit f99c2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_main_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
def get_test_args():
12-
return [{"flags": ["arg1"], "action": "store"}, {"flags": ["arg2"], "action": "store"}]
12+
return [{"flags": ["arg1"], "action": "store", "nargs": "?"}, {"flags": ["arg2"], "action": "store", "nargs": "?"}]
1313

1414

1515
class TestMainFuncs(TestCase):

0 commit comments

Comments
 (0)