diff options
author | 2017-04-19 02:21:14 -0400 | |
---|---|---|
committer | 2017-05-13 09:10:29 +0200 | |
commit | 4af24ab61703bca05a37c062388390ac82d5c96e (patch) | |
tree | bb72ff46bd97978b124564b49815a2594713738d /functest/utils/functest_utils.py | |
parent | 66331529e5e897873ff157c461259c3186be36e3 (diff) |
Stop hardcoding results suffix in push_to_db
Adding results in url is useless as it is defined in results
section in config_functest.yaml.
It allows defining the full name in case of dumping to file (see
decorator.py). The commented local file is the value required by
dovetail.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I35ba9b34d99e138292f099934e28585ee8b85604
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 7e15dbb5136b1b298d86a82c03199bf1f7a6fe46)
Diffstat (limited to 'functest/utils/functest_utils.py')
-rw-r--r-- | functest/utils/functest_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index 7cc5029d9..48682718d 100644 --- a/functest/utils/functest_utils.py +++ b/functest/utils/functest_utils.py @@ -197,7 +197,7 @@ def push_results_to_db(project, case_name, POST results to the Result target DB """ # Retrieve params from CI and conf - url = get_db_url() + "/results" + url = get_db_url() try: installer = os.environ['INSTALLER_TYPE'] |