From 56132340a5d8f2294e04efb40fa2963d5fa9c630 Mon Sep 17 00:00:00 2001 From: MonsieurB Date: Wed, 15 Mar 2017 16:35:37 +0100 Subject: [PATCH] set test --- keychain/tests/test_keychain.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/keychain/tests/test_keychain.py b/keychain/tests/test_keychain.py index b18b0a061..5028df60e 100644 --- a/keychain/tests/test_keychain.py +++ b/keychain/tests/test_keychain.py @@ -21,9 +21,8 @@ class TestKeychain(TransactionCase): self.keychain = self.env['keychain.account'] config['keychain_key'] = Fernet.generate_key() - config['running_env'] = "" - self.old_running_env = config['running_env'] + self.old_running_env = config.get('running_env', '') config['running_env'] = None def _init_data(self):