aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/sdcutils.py
diff options
context:
space:
mode:
authorYang Xu <yang.xu@futurewei.com>2019-06-13 13:19:20 -0400
committerYang Xu <yang.xu@futurewei.com>2019-06-13 13:37:46 -0400
commit21b09c956609d3ebee0081686802d20da194c523 (patch)
tree2349f3054d9953195382a4d8fc3cd9ee0367b5d8 /test/vcpe/sdcutils.py
parent8f04ed2a73c671717c50a0e27699ac3ff690c2a6 (diff)
Improve vCPE test automation
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: INT-847 Change-Id: Ib5b0a547f1c228de4cee02f3526401028c10bff0
Diffstat (limited to 'test/vcpe/sdcutils.py')
-rwxr-xr-xtest/vcpe/sdcutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vcpe/sdcutils.py b/test/vcpe/sdcutils.py
index 1a202b4cf..60050a4b5 100755
--- a/test/vcpe/sdcutils.py
+++ b/test/vcpe/sdcutils.py
@@ -34,7 +34,7 @@ class SdcUtils:
self.logger.debug('---------------------------------------------------------------')
for service in data:
- if service['name'].startswith('demoVCPE') or service['name'].startswith('vCPEResCust'):
+ if (service['name'].startswith('demoVCPE') or service['name'].startswith('vCPEResCust')) and service['distributionStatus'] == 'DISTRIBUTED':
self.logger.debug('service name = %s, url = %s' % (service['name'], service['toscaModelURL']))
self.download_file(self.vcpecommon.sdc_be_url_prefix + service['toscaModelURL'])