From 7a8492031eba442119e802bb9089b023a06b9850 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Fri, 8 Dec 2017 15:38:15 +0000 Subject: commands/workload_templates: Fix validate method in template Remove incorrect parameter for super 'validate' call. --- wa/commands/templates/apk_workload | 2 +- wa/commands/templates/basic_workload | 2 +- wa/commands/templates/uiauto_workload | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'wa') diff --git a/wa/commands/templates/apk_workload b/wa/commands/templates/apk_workload index 96e377e7..bd596ba3 100644 --- a/wa/commands/templates/apk_workload +++ b/wa/commands/templates/apk_workload @@ -33,7 +33,7 @@ class ${class_name}(ApkWorkload): # workload instance. def validate(self): - super(${class_name}, self).validate(context) + super(${class_name}, self).validate() # Validate inter-parameter assumptions etc def setup(self, context): diff --git a/wa/commands/templates/basic_workload b/wa/commands/templates/basic_workload index bfd7795f..f7dabd9f 100644 --- a/wa/commands/templates/basic_workload +++ b/wa/commands/templates/basic_workload @@ -31,7 +31,7 @@ class ${class_name}(Workload): # workload instance. def validate(self): - super(${class_name}, self).validate(context) + super(${class_name}, self).validate() # Validate inter-parameter assumptions etc def setup(self, context): diff --git a/wa/commands/templates/uiauto_workload b/wa/commands/templates/uiauto_workload index 7a3e5a82..2376b998 100644 --- a/wa/commands/templates/uiauto_workload +++ b/wa/commands/templates/uiauto_workload @@ -33,7 +33,7 @@ class ${class_name}(UiautoWorkload): # workload instance. def validate(self): - super(${class_name}, self).validate(context) + super(${class_name}, self).validate() # Validate inter-parameter assumptions etc def setup(self, context): -- cgit v1.2.3