Skip to content

Commit

Permalink
add support for argparse's dest - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Oct 10, 2023
1 parent ef54bda commit 53abab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_server/arghandler_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def test_200__argparse_dest(argument_source: str) -> None:
print()
print(arg)
if arg == "old_name":
arghand.add_argument("new_name")
arghand.add_argument(arg, dest="new_name")
else:
arghand.add_argument(arg)
outargs = arghand.parse_args()
Expand Down

0 comments on commit 53abab9

Please sign in to comment.