diff options
author | 2017-02-23 16:59:09 +0800 | |
---|---|---|
committer | 2017-02-24 21:52:00 +0000 | |
commit | c9663a366bab59d56f938dbfb9d8eb0dffafebfc (patch) | |
tree | 60a877497effee1ba1b4c3518505c6212c1c7a74 /utils/test/testapi/opnfv_testapi/tests/unit/common/notboolean.ini | |
parent | de1da8295b55ca2092459f2dacf44455d1006550 (diff) |
add unittest of config.py
Change-Id: I96639c47d27ef449d02528efad23e2499daa3def
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/tests/unit/common/notboolean.ini')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/tests/unit/common/notboolean.ini | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/test/testapi/opnfv_testapi/tests/unit/common/notboolean.ini b/utils/test/testapi/opnfv_testapi/tests/unit/common/notboolean.ini new file mode 100644 index 000000000..b3f327670 --- /dev/null +++ b/utils/test/testapi/opnfv_testapi/tests/unit/common/notboolean.ini @@ -0,0 +1,17 @@ +# to add a new parameter in the config file, +# the CONF object in config.ini must be updated +[mongo] +# URL of the mongo DB +# Mongo auth url => mongodb://user1:pwd1@host1/?authSource=db1 +url = mongodb://127.0.0.1:27017/ +dbname = test_results_collection + +[api] +# Listening port +port = 8000 +# With debug_on set to true, error traces will be shown in HTTP responses +debug = True +authenticate = notboolean + +[swagger] +base_url = http://localhost:8000 |