Mercurial > hgrepos > Python > libs > ConfigMix
annotate tests/data/conf22.ini @ 120:ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Added unittests for proper Unicode handling.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 29 Mar 2018 12:38:52 +0200 |
| parents | 1c2f8a96dec2 |
| children | 7e6ec99d5ff5 |
| rev | line source |
|---|---|
|
105
1c2f8a96dec2
Unittests with some real-worl-examples of .yml and .ini configuration files
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
diff
changeset
|
1 [config] |
|
1c2f8a96dec2
Unittests with some real-worl-examples of .yml and .ini configuration files
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
diff
changeset
|
2 tmpdir = {{_tmpdir}}\2 |
|
1c2f8a96dec2
Unittests with some real-worl-examples of .yml and .ini configuration files
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
diff
changeset
|
3 |
|
1c2f8a96dec2
Unittests with some real-worl-examples of .yml and .ini configuration files
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
diff
changeset
|
4 [config.db.user] |
|
1c2f8a96dec2
Unittests with some real-worl-examples of .yml and .ini configuration files
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
diff
changeset
|
5 name = the_database_user_2 |
|
1c2f8a96dec2
Unittests with some real-worl-examples of .yml and .ini configuration files
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
diff
changeset
|
6 pwd=the-database-password-2 |
|
1c2f8a96dec2
Unittests with some real-worl-examples of .yml and .ini configuration files
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
diff
changeset
|
7 |
|
1c2f8a96dec2
Unittests with some real-worl-examples of .yml and .ini configuration files
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
diff
changeset
|
8 [config.db.locinfo.ro] |
|
1c2f8a96dec2
Unittests with some real-worl-examples of .yml and .ini configuration files
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
diff
changeset
|
9 hostname = 3rd-host |
