()
| 45 | |
| 46 | |
| 47 | def test_istio_process_file(): |
| 48 | path = os.path.join(TEST_DIR, "test_file.md") |
| 49 | expected_file = os.path.join(TEST_DIR, f"istio-expected.json") |
| 50 | result = [ |
| 51 | data.to_dict() for data in list(IstioImporter().process_file(Path(path), Path(path).parent)) |
| 52 | ] |
| 53 | util_tests.check_results_against_json(result, expected_file) |
| 54 | |
| 55 | |
| 56 | @mock.patch("vulnerabilities.improvers.valid_versions.IstioImprover.get_package_versions") |
nothing calls this directly
no test coverage detected