You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2021-10-27.16:36:51.812>labels= []
title='missing unittests for overlapping dest when using subparsers'updated_at=<Date2021-10-27.16:36:51.812>user='https://bugs.python.org/paulj3'
was passed and put into the latest release with rather obvious buggy behavior.
This means that the unittest file does not adequately test for overlapping 'dest' in the main and subparsers. It probably also does not test many (any?) cases of user provided namespace.
bpo-9351 added a test, but it only tested defaults set with
I'd like to fill in the missing unit tests. I'm not sure if I'd be able to find/fill up everything, I'd like to start off with listing what are the scenarios that still need to be covered. I'm not very familiar with the module, so I'd really appreciate some guidance regarding what other unit tests might be missing.
As pointed by @paulj3 I checked and I didn't find any test cases with user provided Namespaces.
Missing test cases that need to be added:
Check that user provided Namespace overrides default value.
Check that user provided value overrides user provided Namespace.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: