We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0800c4 commit b930cfcCopy full SHA for b930cfc
test/test_subgroups.py
@@ -981,13 +981,10 @@ def test_parse_with_config_file_with_different_subgroup(
981
args: str,
982
expected: A1OrA2,
983
):
984
- """TODO: Honestly not 100% sure what I was testing here."""
985
- # I think I was trying to reproduce the issue from #276
986
-
+ """Test the case where a subgroup different from the default is saved in the config file."""
987
config_path = (tmp_path / "bob").with_suffix(filetype)
988
save(value_in_config, config_path, save_dc_types=True)
989
990
- assert parse(A1OrA2, config_path=config_path, args=args) == expected
+ assert parse(type(value_in_config), config_path=config_path, args=args) == expected
991
992
993
@pytest.mark.parametrize(
0 commit comments