@@ -337,12 +337,12 @@ pub enum MaaError {
337337 #[ error( "HCL runtime claims user-data does not match expected report input data" ) ]
338338 ClaimsUserDataInputMismatch ,
339339 #[ error( "DCAP verification: {0}" ) ]
340- DcapVerification ( #[ from] crate :: attestation :: dcap:: DcapVerificationError ) ,
340+ DcapVerification ( #[ from] crate :: dcap:: DcapVerificationError ) ,
341341}
342342
343343#[ cfg( test) ]
344344mod tests {
345- use crate :: attestation :: measurements:: MeasurementPolicy ;
345+ use crate :: measurements:: MeasurementPolicy ;
346346
347347 use super :: * ;
348348
@@ -361,7 +361,7 @@ mod tests {
361361 #[ tokio:: test]
362362 async fn test_decode_hcl ( ) {
363363 // From cvm-reverse-proxy/internal/attestation/azure/tdx/testdata/hclreport.bin
364- let hcl_bytes: & ' static [ u8 ] = include_bytes ! ( "../../../ test-assets/hclreport.bin" ) ;
364+ let hcl_bytes: & ' static [ u8 ] = include_bytes ! ( "../../test-assets/hclreport.bin" ) ;
365365
366366 let hcl_report = hcl:: HclReport :: new ( hcl_bytes. to_vec ( ) ) . unwrap ( ) ;
367367 let hcl_var_data = hcl_report. var_data ( ) ;
@@ -380,7 +380,7 @@ mod tests {
380380 #[ tokio:: test]
381381 async fn test_verify ( ) {
382382 let attestation_bytes: & ' static [ u8 ] =
383- include_bytes ! ( "../../../ test-assets/azure-tdx-1764662251380464271" ) ;
383+ include_bytes ! ( "../../test-assets/azure-tdx-1764662251380464271" ) ;
384384
385385 // To avoid this test stopping working when the certificate is no longer valid we pass in a
386386 // timestamp
@@ -409,7 +409,7 @@ mod tests {
409409 . unwrap ( ) ;
410410
411411 let collateral_bytes: & ' static [ u8 ] =
412- include_bytes ! ( "../../../ test-assets/azure-collateral02.json" ) ;
412+ include_bytes ! ( "../../test-assets/azure-collateral02.json" ) ;
413413
414414 let collateral = serde_json:: from_slice ( collateral_bytes) . unwrap ( ) ;
415415
@@ -430,14 +430,14 @@ mod tests {
430430 #[ tokio:: test]
431431 async fn test_verify_fails_on_input_mismatch ( ) {
432432 let attestation_bytes: & ' static [ u8 ] =
433- include_bytes ! ( "../../../ test-assets/azure-tdx-1764662251380464271" ) ;
433+ include_bytes ! ( "../../test-assets/azure-tdx-1764662251380464271" ) ;
434434 let now = 1771423480 ;
435435
436436 let mut expected_input_data = input_data_from_attestation ( attestation_bytes) ;
437437 expected_input_data[ 63 ] ^= 0x01 ;
438438
439439 let collateral_bytes: & ' static [ u8 ] =
440- include_bytes ! ( "../../../ test-assets/azure-collateral02.json" ) ;
440+ include_bytes ! ( "../../test-assets/azure-collateral02.json" ) ;
441441 let collateral = serde_json:: from_slice ( collateral_bytes) . unwrap ( ) ;
442442
443443 let err = verify_azure_attestation_with_given_timestamp (
0 commit comments