From 8a913639bd803127adf327ed32d434fc178fab2a Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 15 Nov 2017 15:05:35 +0000 Subject: [PATCH] Framework/Workload: Fix call to deploy assets --- wa/framework/workload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wa/framework/workload.py b/wa/framework/workload.py index 3e66bba8..bbd5cec7 100644 --- a/wa/framework/workload.py +++ b/wa/framework/workload.py @@ -97,7 +97,7 @@ class Workload(TargetedPlugin): each iteration. """ if self.deployable_assets: - self.deploy_assets() + self.deploy_assets(context) def setup(self, context): """ @@ -241,8 +241,8 @@ class ApkWorkload(Workload): @once_per_instance def initialize(self, context): + super(ApkWorkload, self).initialize(context) self.apk.initialize(context) - self.deploy_assets(context) if self.view is None: self.view = 'SurfaceView - {}/{}'.format(self.apk.package, self.apk.activity)