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

Function test_bootc_install_config

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

Source from the content-addressed store, hash-verified

95}
96
97pub(crate) fn test_bootc_install_config() -> Result<()> {
98 let sh = &xshell::Shell::new()?;
99 let config = cmd!(sh, "bootc install print-configuration").read()?;
100 let config: serde_json::Value =
101 serde_json::from_str(&config).context("Parsing install config")?;
102 // check that it parses okay, but also ensure kargs is not available here (only via --all)
103 assert!(config.get("kargs").is_none());
104 Ok(())
105}
106
107pub(crate) fn test_bootc_install_config_all() -> Result<()> {
108 #[derive(Deserialize)]

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected