From 5652c5955593b1118f8b3d496c84fba4f164129c Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 13 May 2014 23:00:58 +0300 Subject: Added some iOS diags tests --- gsxws/diagnostics.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gsxws') diff --git a/gsxws/diagnostics.py b/gsxws/diagnostics.py index f9f9d7d..5131432 100644 --- a/gsxws/diagnostics.py +++ b/gsxws/diagnostics.py @@ -16,9 +16,11 @@ class Diagnostics(GsxObject): >>> Diagnostics(diagnosticEventNumber='12942008007242012052919').fetch() """ if hasattr(self, "alternateDeviceId"): - self._submit("lookupRequestData", "FetchIOSDiagnostic", "lookupResponseData") + self._submit("lookupRequestData", "FetchIOSDiagnostic", + "lookupResponseData") else: - self._submit("lookupRequestData", "FetchRepairDiagnostic", "FetchRepairDiagnosticResponse") + self._submit("lookupRequestData", "FetchRepairDiagnostic", + "FetchRepairDiagnosticResponse") return self._req.objects @@ -28,5 +30,6 @@ class Diagnostics(GsxObject): diagnostic event numbers associated with provided input (serial number or alternate device ID). """ - self._submit("lookupRequestData", "FetchDiagnosticEventNumbers", "diagnosticEventNumbers") + self._submit("lookupRequestData", "FetchDiagnosticEventNumbers", + "diagnosticEventNumbers") return self._req.objects -- cgit v1.2.3