2020-04-12 06:10:33 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"id": "default_output",
|
|
|
|
"method": "cmp_with_file_contents",
|
|
|
|
"command": "{{pipdeptree}}",
|
|
|
|
"expected_output_file": "default.out",
|
2020-04-14 18:21:04 +00:00
|
|
|
"expected_err_file": null,
|
|
|
|
"expected_returncode": 0
|
2020-04-12 06:10:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "reverse_output",
|
|
|
|
"method": "cmp_with_file_contents",
|
|
|
|
"command": "{{pipdeptree}} -r",
|
|
|
|
"expected_output_file": "reverse.out",
|
2020-04-14 18:21:04 +00:00
|
|
|
"expected_err_file": null,
|
|
|
|
"expected_returncode": 0
|
2020-04-12 06:10:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "--all_output",
|
|
|
|
"method": "cmp_with_file_contents",
|
|
|
|
"command": "{{pipdeptree}} --all",
|
|
|
|
"expected_output_file": "all_flag.out",
|
2020-04-14 18:21:04 +00:00
|
|
|
"expected_err_file": null,
|
|
|
|
"expected_returncode": 0
|
2020-04-12 06:10:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "--packages_output",
|
|
|
|
"method": "cmp_with_file_contents",
|
|
|
|
"command": "{{pipdeptree}} --packages pexpect,ipython",
|
|
|
|
"expected_output_file": "packages_opt.out",
|
2020-04-14 18:21:04 +00:00
|
|
|
"expected_err_file": null,
|
|
|
|
"expected_returncode": 0
|
2020-04-12 07:35:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "--packages--reverse_output",
|
|
|
|
"method": "cmp_with_file_contents",
|
|
|
|
"command": "{{pipdeptree}} -r -p decorator,click",
|
|
|
|
"expected_output_file": "packages_reverse.out",
|
2020-04-14 18:21:04 +00:00
|
|
|
"expected_err_file": null,
|
|
|
|
"expected_returncode": 0
|
2020-04-12 06:10:33 +00:00
|
|
|
}
|
|
|
|
]
|