diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-02-27 10:29:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-02-27 10:29:24 +0000 |
commit | 3e39454989eb51bb5754f11df101e2be734294c9 (patch) | |
tree | fd08062c5d458a70e51f1d29c9b2f9cd737b2e3b /utils/test/testapi/opnfv_testapi/tests/unit/common | |
parent | c8d812d845c3db31dcab2c5083a3b45df9597ad3 (diff) | |
parent | 72d425437e176a966bfc4d43a116f8692ec859ba (diff) |
Merge "make unittest cover server.py in TestAPI"
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/tests/unit/common')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/tests/unit/common/normal.ini | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/test/testapi/opnfv_testapi/tests/unit/common/normal.ini b/utils/test/testapi/opnfv_testapi/tests/unit/common/normal.ini new file mode 100644 index 000000000..77cc6c6ee --- /dev/null +++ b/utils/test/testapi/opnfv_testapi/tests/unit/common/normal.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 = False + +[swagger] +base_url = http://localhost:8000 |