aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/core.py4
-rw-r--r--gsxws/diagnostics.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/gsxws/core.py b/gsxws/core.py
index 4c3c4a4..083efed 100644
--- a/gsxws/core.py
+++ b/gsxws/core.py
@@ -324,6 +324,10 @@ class GsxRequest(object):
# @hack FetchDiagnosticSuites doesn't follow the naming conventions
if method.endswith('FetchDiagnosticSuites'):
request_name = 'FetchDiagnosticSuitesRequestData'
+
+ # @hack RunDiagnosticTest doesn't follow the naming conventions
+ if method.endswith('RunDiagnosticTest'):
+ request_name = 'RunDiagnosticTestRequestData'
request = ET.SubElement(root, request_name)
request.append(GSX_SESSION)
diff --git a/gsxws/diagnostics.py b/gsxws/diagnostics.py
index 79a7975..f1815e7 100644
--- a/gsxws/diagnostics.py
+++ b/gsxws/diagnostics.py
@@ -65,7 +65,7 @@ class Diagnostics(GsxObject):
"diagnosticEventNumbers")
return self._req.objects
- def run(self):
+ def run_test(self):
"""
The Run Diagnostic Test API allows users to run a specific or
all the diagnostic tests on a device.