crypto: Scope the imports for the unwedging test into the test.
This commit is contained in:
parent
0a76f75c22
commit
c8dd6bfd26
1 changed files with 6 additions and 2 deletions
|
@ -316,8 +316,7 @@ mod test {
|
|||
|
||||
use matrix_sdk_common::{
|
||||
api::r0::keys::claim_keys::Response as KeyClaimResponse,
|
||||
identifiers::{user_id, DeviceIdBox, DeviceKeyAlgorithm, UserId},
|
||||
instant::{Duration, Instant},
|
||||
identifiers::{user_id, DeviceIdBox, UserId},
|
||||
};
|
||||
use matrix_sdk_test::async_test;
|
||||
|
||||
|
@ -424,6 +423,11 @@ mod test {
|
|||
#[async_test]
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
async fn session_unwedging() {
|
||||
use matrix_sdk_common::{
|
||||
identifiers::DeviceKeyAlgorithm,
|
||||
instant::{Duration, Instant},
|
||||
};
|
||||
|
||||
let manager = session_manager().await;
|
||||
let bob = bob_account();
|
||||
let (_, mut session) = bob.create_session_for(&manager.account).await;
|
||||
|
|
Loading…
Reference in a new issue