From c9663a366bab59d56f938dbfb9d8eb0dffafebfc Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Thu, 23 Feb 2017 16:59:09 +0800 Subject: add unittest of config.py Change-Id: I96639c47d27ef449d02528efad23e2499daa3def Signed-off-by: SerenaFeng --- .../testapi/opnfv_testapi/tests/unit/common/notint.ini | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 utils/test/testapi/opnfv_testapi/tests/unit/common/notint.ini (limited to 'utils/test/testapi/opnfv_testapi/tests/unit/common/notint.ini') diff --git a/utils/test/testapi/opnfv_testapi/tests/unit/common/notint.ini b/utils/test/testapi/opnfv_testapi/tests/unit/common/notint.ini new file mode 100644 index 000000000..d1b752a34 --- /dev/null +++ b/utils/test/testapi/opnfv_testapi/tests/unit/common/notint.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 = notint +# With debug_on set to true, error traces will be shown in HTTP responses +debug = True +authenticate = False + +[swagger] +base_url = http://localhost:8000 -- cgit 1.2.3-korg