MCPcopy Create free account
hub / github.com/bootc-dev/bootc / test_baseimage_root

Function test_baseimage_root

crates/lib/src/lints.rs:1299–1310  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1297
1298 #[test]
1299 fn test_baseimage_root() -> Result<()> {
1300 let td = fixture()?;
1301 let config = &LintExecutionConfig::default();
1302
1303 // An empty root should fail our test
1304 assert!(check_baseimage_root(&td, config).unwrap().is_err());
1305
1306 drop(td);
1307 let td = passing_fixture()?;
1308 check_baseimage_root(&td, config).unwrap().unwrap();
1309 Ok(())
1310 }
1311
1312 #[test]
1313 fn test_composefs() -> Result<()> {

Callers

nothing calls this directly

Calls 3

passing_fixtureFunction · 0.85
check_baseimage_rootFunction · 0.85
fixtureFunction · 0.70

Tested by

no test coverage detected