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

Function test_bootc_status

crates/tests-integration/src/container.rs:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17pub(crate) fn test_bootc_status() -> Result<()> {
18 let sh = Shell::new()?;
19 let host: serde_json::Value = serde_json::from_str(&cmd!(sh, "bootc status --json").read()?)?;
20 assert!(host.get("status").unwrap().get("ty").is_none());
21 Ok(())
22}
23
24pub(crate) fn test_bootc_container_inspect() -> Result<()> {
25 let sh = Shell::new()?;

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected