From d6c853ce5994a371f446c2ba2e2350e8479772bf Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 20 Jun 2018 11:06:53 +0100 Subject: [PATCH] workloads: Fix incorrect attribute name Correct setting of attribute `clean_assets` to `cleanup_assets` --- wa/workloads/chrome/__init__.py | 2 +- wa/workloads/gmail/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wa/workloads/chrome/__init__.py b/wa/workloads/chrome/__init__.py index 9efa78fb..d6136e98 100644 --- a/wa/workloads/chrome/__init__.py +++ b/wa/workloads/chrome/__init__.py @@ -54,7 +54,7 @@ class Chrome(ApkUiautoWorkload): super(Chrome, self).__init__(target, **kwargs) if self.offline_mode: self.deployable_assets = ['pages.tar', 'OfflinePages.db'] - self.clean_assets = True + self.cleanup_assets = True def initialize(self, context): super(Chrome, self).initialize(context) diff --git a/wa/workloads/gmail/__init__.py b/wa/workloads/gmail/__init__.py index 84b2f79b..3e302e8b 100755 --- a/wa/workloads/gmail/__init__.py +++ b/wa/workloads/gmail/__init__.py @@ -81,7 +81,7 @@ class Gmail(ApkUiautoWorkload): self.deployable_assets = [self.test_image] if self.offline_mode: self.deployable_assets.append('mailstore.tar') - self.clean_assets = True + self.cleanup_assets = True def initialize(self, context): super(Gmail, self).initialize(context)