MCPcopy Create free account
hub / github.com/endbasic/endbasic / test_logout_ok_cloud_not_mounted

Function test_logout_ok_cloud_not_mounted

client/src/cmds.rs:779–784  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

777
778 #[tokio::test]
779 async fn test_logout_ok_cloud_not_mounted() {
780 let mut t = ClientTester::default();
781 t.get_service().borrow_mut().do_login().await;
782 t.run(r#"LOGOUT"#).expect_prints(["", " Good bye!", ""]).check();
783 assert!(!t.get_storage().borrow().mounted().contains_key("CLOUD"));
784 }
785
786 #[tokio::test]
787 async fn test_logout_ok_unmount_cloud() {

Callers

nothing calls this directly

Calls 5

get_serviceMethod · 0.80
do_loginMethod · 0.45
checkMethod · 0.45
expect_printsMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected