summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/common
diff options
context:
space:
mode:
authorgrkoffi <koffirodrigue@gmail.com>2015-08-31 14:45:53 +0200
committergrkoffi <koffirodrigue@gmail.com>2015-09-02 15:12:27 +0200
commitaa6aac09a5a0651b4ef28c1ccc78ca32a1fccf7f (patch)
tree1fe7d77c485e4ab1f2c84ef0580457a54f05e2ee /utils/test/result_collection_api/common
parentf7d774bd45cab36eefab7baf6180f84ed4296a6e (diff)
Fix minor bugs for result_collection_api
JIRA : RELENG-7 Change-Id: Id3cda0a0a73fcf1d05de751a7f48bbae2145fbf4 Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
Diffstat (limited to 'utils/test/result_collection_api/common')
-rw-r--r--utils/test/result_collection_api/common/constants.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/test/result_collection_api/common/constants.py b/utils/test/result_collection_api/common/constants.py
index 485dbf314..21769564c 100644
--- a/utils/test/result_collection_api/common/constants.py
+++ b/utils/test/result_collection_api/common/constants.py
@@ -8,11 +8,11 @@
##############################################################################
-API_LISTENING_PORT = 8000
+API_LISTENING_PORT = 80
-MONGO_URL = "mongodb://192.168.56.102:27017/"
+MONGO_URL = "mongodb://127.0.0.1:27017/"
-APPLICATION_JSON = "application/json"
+DEFAULT_REPRESENTATION = "application/json"
HTTP_BAD_REQUEST = 400
HTTP_FORBIDDEN = 403
HTTP_NOT_FOUND = 404