summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/tests/unit
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2017-10-23 01:27:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-23 01:27:12 +0000
commitd62585d81b030d9c94e14ff3f0a6fb3205bbd61b (patch)
tree67510b97e2ac5a170006969e3f29b40a24061e40 /testapi/opnfv_testapi/tests/unit
parentf97f2212e862644178b87708ea62eb091b51a506 (diff)
parent839c1468cbe2025e759458bbe82c2f99a5ea347f (diff)
Merge "allow authentication to be disabled"
Diffstat (limited to 'testapi/opnfv_testapi/tests/unit')
-rw-r--r--testapi/opnfv_testapi/tests/unit/common/test_config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/tests/unit/common/test_config.py b/testapi/opnfv_testapi/tests/unit/common/test_config.py
index ea22972..6d160ce 100644
--- a/testapi/opnfv_testapi/tests/unit/common/test_config.py
+++ b/testapi/opnfv_testapi/tests/unit/common/test_config.py
@@ -12,7 +12,8 @@ def test_config_normal(mocker, config_normal):
assert CONF.mongo_dbname == 'test_results_collection'
assert CONF.api_port == 8000
assert CONF.api_debug is True
- assert CONF.api_authenticate is False
+ assert CONF.api_token_check is False
+ assert CONF.api_authenticate is True
assert CONF.ui_url == 'http://localhost:8000'