Mercurial > hgrepos > Python > libs > ConfigMix
annotate tests/data/conf23.json @ 428:090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Jailed configurations assumed that their "default" marker object is
identical to the "default" marker object in the unjailed base
configuration. This is not always true, especially if
"_JailedConfiguration.rebind()" is used.
Removed the explicit "default" keyword argument and passed the complete
keywords argument dictionary to the base instead. This triggers correct
default handling in the base.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 09 Dec 2021 13:02:17 +0100 |
| parents | 7e6ec99d5ff5 |
| children |
| rev | line source |
|---|---|
|
130
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
1 {"tmpdir": "{{_tmpdir}}\\3", |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
2 "db": { |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
3 "user": { |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
4 "name": "the_database_user_2", |
|
144
7e6ec99d5ff5
Allow comments as keys and filter them by default
Franz Glasner <hg@dom66.de>
parents:
130
diff
changeset
|
5 "__doc2": "comment", |
|
130
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
6 "pwd": "the-database-password-2" |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
7 }, |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
8 "locinfo": { |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
9 "ro": { |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
10 "hostname": "3rd-host" |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
11 } |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
12 } |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
13 } |
|
b11af3ded7c1
Added more JSON specific unit tests
Franz Glasner <hg@dom66.de>
parents:
diff
changeset
|
14 } |
