aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Bonnici <marc.bonnici@arm.com>2017-12-08 15:38:15 +0000
committersetrofim <setrofim@gmail.com>2017-12-11 08:04:49 +0000
commit7a8492031eba442119e802bb9089b023a06b9850 (patch)
tree7e27f65c08a65c961b211a7cc8a08e76054b2773
parent6308f99b9da7a6757a8c80c8074407e52dbc98f9 (diff)
commands/workload_templates: Fix validate method in template
Remove incorrect parameter for super 'validate' call.
-rw-r--r--wa/commands/templates/apk_workload2
-rw-r--r--wa/commands/templates/basic_workload2
-rw-r--r--wa/commands/templates/uiauto_workload2
3 files changed, 3 insertions, 3 deletions
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):