diff options
| author | Simeon Simeonov | 2022-04-10 22:21:41 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2022-04-10 22:21:41 +0200 |
| commit | d15ee60ca7ad62004c5e036203f095cc27660f90 (patch) | |
| tree | 0fc478fe2cab5cd670137ad4d4dbd75fd4b68b36 /tests/conftest.py | |
| parent | e36f260c2ebc5e21724e5eedf0a91d2bc66cceec (diff) | |
Introduce a new macro (%p) representing the parent value of a given key
Diffstat (limited to 'tests/conftest.py')
| -rw-r--r-- | tests/conftest.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 0770adb..5dcc456 100644 --- a/tests/conftest.py +++ b/tests/conftest.py | |||
| @@ -30,17 +30,16 @@ def config_data(): | |||
| 30 | ) | 30 | ) |
| 31 | }, | 31 | }, |
| 32 | 'instances': { | 32 | 'instances': { |
| 33 | 'default': {'ETOOLKIT_PROMPT': '(%i)'}, | 33 | '_default': { |
| 34 | 'ETOOLKIT_PROMPT': '(%i)', | ||
| 35 | 'PYTHONPATH': '/home/foo/%i/python', | ||
| 36 | }, | ||
| 34 | 'dev': { | 37 | 'dev': { |
| 35 | 'ETOOLKIT_PARENT': 'default', | 38 | 'ETOOLKIT_PARENT': '_default', |
| 36 | 'PYTHONPATH': ':/home/user/.pythonpath', | 39 | 'PYTHONPATH': '%p:/home/user/%i/.pythonpath', |
| 37 | 'DB_CONNECTION': ( | ||
| 38 | 'enc-val$1$Y/TBb1F3siHTw6qZg9ERzZfA8PLPf2CwGSQLpu9jYWw=$FT' | ||
| 39 | '5tS9o+ABvsxogIXpJim16Gz5SVtV8=' | ||
| 40 | ), | ||
| 41 | }, | 40 | }, |
| 42 | 'secret': { | 41 | 'secret': { |
| 43 | 'ETOOLKIT_PARENT': 'default', | 42 | 'ETOOLKIT_PARENT': '_default', |
| 44 | 'ETOOLKIT_SENSITIVE': ['PASSWORD'], | 43 | 'ETOOLKIT_SENSITIVE': ['PASSWORD'], |
| 45 | 'GNUPGHOME': '%h/private/.gnupg', | 44 | 'GNUPGHOME': '%h/private/.gnupg', |
| 46 | 'PASSWORD': ( | 45 | 'PASSWORD': ( |
