Add ConfigFile
This commit is contained in:
parent
ec74eb2d6f
commit
fcdd25c974
9 changed files with 153 additions and 0 deletions
3
great_ai/tests/utilities/data/bad.conf
Normal file
3
great_ai/tests/utilities/data/bad.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
zeroth_key="test"
|
||||
zeroth_key="test"
|
||||
5
great_ai/tests/utilities/data/env.conf
Normal file
5
great_ai/tests/utilities/data/env.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
first_key=test
|
||||
|
||||
second_key="ENV:alma"
|
||||
third_key = ENV:alma
|
||||
15
great_ai/tests/utilities/data/good.conf
Normal file
15
great_ai/tests/utilities/data/good.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
zeroth_key="test"
|
||||
first_key=test
|
||||
second_key = test 2 # comment is ignored
|
||||
third_key= "test= 2=="
|
||||
|
||||
fourth_key = "
|
||||
this#
|
||||
is
|
||||
multiline
|
||||
" # cannot write comments inside multiline
|
||||
|
||||
whitespace = hardly matters
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue