MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / load_fixture_platform

Function load_fixture_platform

guest-agent-simulator/src/main.rs:139–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 use super::*;
138
139 fn load_fixture_platform() -> SimulatorPlatform {
140 let fixture = simulator::load_versioned_attestation(
141 std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
142 .join("../guest-agent/fixtures/attestation.bin"),
143 )
144 .expect("fixture attestation should load");
145 SimulatorPlatform::new(fixture, true)
146 }
147
148 #[test]
149 fn simulator_rejects_runtime_event_emission() {

Calls 1