aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/sdcutils.py
diff options
context:
space:
mode:
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'])