From 21b09c956609d3ebee0081686802d20da194c523 Mon Sep 17 00:00:00 2001 From: Yang Xu Date: Thu, 13 Jun 2019 13:19:20 -0400 Subject: Improve vCPE test automation Signed-off-by: Yang Xu Issue-ID: INT-847 Change-Id: Ib5b0a547f1c228de4cee02f3526401028c10bff0 --- test/vcpe/sdcutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/vcpe/sdcutils.py') 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']) -- cgit 1.2.3-korg