pipdeptree/tests/profiles/conflicting/test_spec.json

35 lines
911 B
JSON

[
{
"id": "default_output",
"method": "cmp_with_file_contents",
"command": "{{pipdeptree}}",
"expected_output_file": "default.out",
"expected_err_file": "default.err",
"expected_returncode": 0
},
{
"id": "reverse_output",
"method": "cmp_with_file_contents",
"command": "{{pipdeptree}} -r",
"expected_output_file": "reverse.out",
"expected_err_file": "default.err",
"expected_returncode": 0
},
{
"id": "warning_silenced",
"method": "cmp_with_file_contents",
"command": "{{pipdeptree}} -w silence",
"expected_output_file": "default.out",
"expected_err_file": null,
"expected_returncode": 0
},
{
"id": "fail_if_conflicting",
"method": "cmp_with_file_contents",
"command": "{{pipdeptree}} -w fail",
"expected_output_file": "default.out",
"expected_err_file": "default.err",
"expected_returncode": 1
}
]