Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ testdata_dir
Function
testdata_dir
crates/openshell-prover/src/lib.rs:86–88 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
84
use std::path::PathBuf;
85
86
fn testdata_dir() -> PathBuf {
87
PathBuf::from(env!(
"CARGO_MANIFEST_DIR"
)).join(
"testdata"
)
88
}
89
90
// 1. Parse testdata/policy.yaml, verify structure.
91
#[test]
Callers
5
test_parse_policy
Function · 0.85
test_filesystem_policy
Function · 0.85
test_findings_for_github_policy
Function · 0.85
test_wildcard_endpoint_covering_credential_host_emits_credential_reach
Function · 0.85
test_empty_policy_no_findings
Function · 0.85
Calls
no outgoing calls
Tested by
5
test_parse_policy
Function · 0.68
test_filesystem_policy
Function · 0.68
test_findings_for_github_policy
Function · 0.68
test_wildcard_endpoint_covering_credential_host_emits_credential_reach
Function · 0.68
test_empty_policy_no_findings
Function · 0.68