assert_eq!(response.status(), StatusCode::OK); assert_eq!( response.headers().get("content-type").unwrap(), "application/json" ); assert_eq!( response.text().unwrap(), format!("\"{}\"", hex::encode(encoded_metadata)) ); } #[test] fn inscriptions_page() { let rpc_server = test_bitcoincore_rpc::spawn(); create_wallet(&rpc_server); let (inscription, _) = inscribe(&rpc_server); TestServer::spawn_with_args(&rpc_server, &[]).assert_response_regex( "/inscriptions", format!( ".*