MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / tests_dir

Function tests_dir

fendermint/testing/materializer/tests/docker.rs:38–45  ·  view source on GitHub ↗

Want to keep the testnet artifacts in the `tests/testnets` directory.

()

Source from the content-addressed store, hash-verified

36
37/// Want to keep the testnet artifacts in the `tests/testnets` directory.
38fn tests_dir() -> PathBuf {
39 let dir = current_dir().unwrap();
40 debug_assert!(
41 dir.ends_with("materializer"),
42 "expected the current directory to be the crate"
43 );
44 dir.join("tests")
45}
46
47/// Directory where we keep the docker-materializer related data files.
48fn test_data_dir() -> PathBuf {

Callers 2

test_data_dirFunction · 0.85
read_manifestFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected