MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_get_file_not_found

Function test_get_file_not_found

client/src/cloud.rs:720–730  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

718 #[test]
719 #[ignore = "Requires environment configuration and is expensive"]
720 fn test_get_file_not_found() {
721 #[tokio::main]
722 async fn run(context: &mut TestContext) {
723 let username = context.do_login(1).await;
724 let (filename, _content) = context.random_file();
725
726 let err = context.service.get_file(&username, &filename).await.unwrap_err();
727 assert_eq!(io::ErrorKind::NotFound, err.kind(), "{}", err);
728 }
729 run(&mut TestContext::new_from_env());
730 }
731
732 #[test]
733 #[ignore = "Requires environment configuration and is expensive"]

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected