diff options
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): |
