mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-12 17:10:54 +02:00
Fix mypy
This commit is contained in:
parent
fc3ed76d12
commit
9c8cfd9175
@ -77,7 +77,7 @@ def decrypt_bytes_to_string(input_bytes: bytes) -> str:
|
|||||||
return versioned_decryption_fn(input_bytes)
|
return versioned_decryption_fn(input_bytes)
|
||||||
|
|
||||||
|
|
||||||
def test_encryption():
|
def test_encryption() -> None:
|
||||||
test_string = "Danswer is the BEST!"
|
test_string = "Danswer is the BEST!"
|
||||||
encrypted_bytes = encrypt_string_to_bytes(test_string)
|
encrypted_bytes = encrypt_string_to_bytes(test_string)
|
||||||
decrypted_string = decrypt_bytes_to_string(encrypted_bytes)
|
decrypted_string = decrypt_bytes_to_string(encrypted_bytes)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user