MCPcopy
hub / github.com/treeverse/dvc / test_config_unset

Function test_config_unset

tests/func/test_cli.py:90–100  ·  view source on GitHub ↗
(dvc)

Source from the content-addressed store, hash-verified

88
89
90def test_config_unset(dvc):
91 name = "section.option"
92 value = "1"
93
94 args = parse_args(["config", "-u", "--unset", name, value])
95
96 cmd = args.func(args)
97 assert isinstance(cmd, CmdConfig)
98 assert args.unset
99 assert args.name == (None, "section", "option")
100 assert args.value == value
101
102
103def test_config_list():

Callers

nothing calls this directly

Calls 2

parse_argsFunction · 0.90
funcMethod · 0.80

Tested by

no test coverage detected