()
| 785 | |
| 786 | #[tokio::test] |
| 787 | async fn test_logout_ok_unmount_cloud() { |
| 788 | let mut t = ClientTester::default(); |
| 789 | t.get_service().borrow_mut().do_login().await; |
| 790 | t.get_storage().borrow_mut().mount("CLOUD", "memory://").unwrap(); |
| 791 | t.run(r#"LOGOUT"#) |
| 792 | .expect_prints(["", " Unmounted CLOUD drive", " Good bye!", ""]) |
| 793 | .check(); |
| 794 | assert!(!t.get_storage().borrow().mounted().contains_key("CLOUD")); |
| 795 | } |
| 796 | |
| 797 | #[tokio::test] |
| 798 | async fn test_logout_cloud_mounted_and_active() { |
nothing calls this directly
no test coverage detected