MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / test_yaml

Function test_yaml

tests/formattedcode/test_output_yaml.py:28–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28def test_yaml():
29 test_dir = test_env.get_test_loc('yaml/simple')
30 result_file = test_env.get_temp_file('yaml')
31 run_scan_click(['-clip', test_dir, '--yaml', result_file])
32 expected = test_env.get_test_loc('yaml/simple-expected.yaml')
33 check_yaml_scan(expected, result_file, regen=REGEN_TEST_FIXTURES)
34
35
36@pytest.mark.scanslow

Callers

nothing calls this directly

Calls 4

run_scan_clickFunction · 0.90
check_yaml_scanFunction · 0.85
get_test_locMethod · 0.80
get_temp_fileMethod · 0.80

Tested by

no test coverage detected