test: add TestContext.allow_unencrypted()

This commit is contained in:
link2xt
2026-05-07 07:10:17 +02:00
parent 1adf87997c
commit a74ad4c786
18 changed files with 145 additions and 0 deletions

View File

@@ -1229,6 +1229,13 @@ ORDER BY id"
.await
.unwrap();
}
/// Allow reception of unencrypted messages.
#[expect(clippy::unused_async)]
pub async fn allow_unencrypted(&self) -> Result<()> {
// Does nothing for now.
Ok(())
}
}
pub async fn encrypt_raw_message(