From 5eebc8e9b5983608a87a0b7edb2056b041dc7355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20L=C3=B3pez?= Date: Fri, 31 May 2024 15:09:37 -0600 Subject: [PATCH] add test --- tests/types/test_encrypted_string.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/types/test_encrypted_string.py b/tests/types/test_encrypted_string.py index bc640cb..533e962 100644 --- a/tests/types/test_encrypted_string.py +++ b/tests/types/test_encrypted_string.py @@ -149,3 +149,9 @@ def test_patch_kms_request(kms_connection_url: str) -> None: kms_connection_url, ) assert _EncryptionIO.kms_request != original_kms_request + + user = User(name='foo', nss='123456') + user.save() + user_db = User.objects(nss=user.nss).first() + assert user_db.id == user.id + user.delete()