diff options
author | 2017-09-14 10:18:33 +0800 | |
---|---|---|
committer | 2017-09-14 10:21:00 +0800 | |
commit | e1b19d12336bc3e92d038f97b08d4a9b132bc1e1 (patch) | |
tree | 58ab25e238b752fea3e824c11e786378154c66de /lcm/pub/msapi/aai.py | |
parent | 9adcfb57b0eda21da23b0270c07c59dd11b95238 (diff) |
Create ns instance to aai and fix tests
Create ns instance to aai and fix the related unit test
Change-Id: Ic6cbf95b8ffa9d382a491bb306ee515341e21473
Issue-ID: VFC-354
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'lcm/pub/msapi/aai.py')
-rw-r--r-- | lcm/pub/msapi/aai.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/pub/msapi/aai.py b/lcm/pub/msapi/aai.py index c22b0380..402a9da8 100644 --- a/lcm/pub/msapi/aai.py +++ b/lcm/pub/msapi/aai.py @@ -45,7 +45,7 @@ def create_customer_aai(global_customer_id, data): if ret[0] != 0: logger.error("Status code is %s, detail is %s.", ret[2], ret[1]) raise NSLCMException("Customer creation exception in AAI") - return json.JSONDecoder().decode(ret[1]) + return json.JSONDecoder().decode(ret[1]), ret[2] def get_customer_aai(global_customer_id): |