From 08a3280b062af83ee50fa139d7827d954907886e Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Mon, 13 May 2024 21:52:13 +0200 Subject: Implement re-encryption support --- tests/test_envtoolkit_instance.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/test_envtoolkit_instance.py') diff --git a/tests/test_envtoolkit_instance.py b/tests/test_envtoolkit_instance.py index 0147c6f..9873d57 100644 --- a/tests/test_envtoolkit_instance.py +++ b/tests/test_envtoolkit_instance.py @@ -41,7 +41,9 @@ def test_instantiation(config_data): assert instance.master_password is None -def test_get_environ(config_data, master_password, wrong_master_password): +def test_get_environ( + config_data, master_password, short_value, wrong_master_password +): """Tests the EtoolkitInstance.get_environ method""" instance = etoolkit.EtoolkitInstance('secret', config_data) @@ -61,7 +63,7 @@ def test_get_environ(config_data, master_password, wrong_master_password): instance.master_password = master_password env = instance.get_environ() assert isinstance(env, dict) - assert env['ETOOLKIT_TEST_PASSWORD'] == 'bar' + assert env['ETOOLKIT_TEST_PASSWORD'] == short_value def test_get_full_name(config_data): -- cgit v1.3