1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 15:04:43 +00:00

profile variables get precedence (#169)

This commit is contained in:
deadc0de6
2019-06-20 15:38:17 +02:00
parent 64c675b7b8
commit 3375b5ca48
5 changed files with 184 additions and 38 deletions

View File

@@ -583,9 +583,11 @@ profiles:
))
# test variables
# since variables get merged they are
# the same in both configs
imported_vars = imported_cfg.variables
self.assertFalse(any(
imported_vars[k] == v
imported_vars[k] != v
for k, v in importing_cfg.variables.items()
if not k.startswith('_')
))