diff options
| author | Simeon Simeonov | 2024-05-13 21:52:13 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2024-05-13 21:52:13 +0200 |
| commit | 08a3280b062af83ee50fa139d7827d954907886e (patch) | |
| tree | 8e1d3f3117d05b3ad779d070ec30ddbbe242e62b /tests/test_envtoolkit_instance.py | |
| parent | bb9a844e22134a2537652ea14f93e82acb4ee380 (diff) | |
Implement re-encryption support2.0.0
Diffstat (limited to 'tests/test_envtoolkit_instance.py')
| -rw-r--r-- | tests/test_envtoolkit_instance.py | 6 |
1 files changed, 4 insertions, 2 deletions
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): | |||
| 41 | assert instance.master_password is None | 41 | assert instance.master_password is None |
| 42 | 42 | ||
| 43 | 43 | ||
| 44 | def test_get_environ(config_data, master_password, wrong_master_password): | 44 | def test_get_environ( |
| 45 | config_data, master_password, short_value, wrong_master_password | ||
| 46 | ): | ||
| 45 | """Tests the EtoolkitInstance.get_environ method""" | 47 | """Tests the EtoolkitInstance.get_environ method""" |
| 46 | 48 | ||
| 47 | instance = etoolkit.EtoolkitInstance('secret', config_data) | 49 | instance = etoolkit.EtoolkitInstance('secret', config_data) |
| @@ -61,7 +63,7 @@ def test_get_environ(config_data, master_password, wrong_master_password): | |||
| 61 | instance.master_password = master_password | 63 | instance.master_password = master_password |
| 62 | env = instance.get_environ() | 64 | env = instance.get_environ() |
| 63 | assert isinstance(env, dict) | 65 | assert isinstance(env, dict) |
| 64 | assert env['ETOOLKIT_TEST_PASSWORD'] == 'bar' | 66 | assert env['ETOOLKIT_TEST_PASSWORD'] == short_value |
| 65 | 67 | ||
| 66 | 68 | ||
| 67 | def test_get_full_name(config_data): | 69 | def test_get_full_name(config_data): |
