diff options
author | Filipp Lepalaan <filipp@mac.com> | 2014-05-13 23:00:58 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2014-05-13 23:00:58 +0300 |
commit | 5652c5955593b1118f8b3d496c84fba4f164129c (patch) | |
tree | f04b4bf171da98209ebb332c51cf9d845b4a28f0 /gsxws/diagnostics.py | |
parent | d6473bcbede636e8ba553fe6c4df8cd796d0797a (diff) | |
download | py-gsxws-5652c5955593b1118f8b3d496c84fba4f164129c.tar.gz py-gsxws-5652c5955593b1118f8b3d496c84fba4f164129c.tar.bz2 py-gsxws-5652c5955593b1118f8b3d496c84fba4f164129c.zip |
Added some iOS diags tests
Diffstat (limited to 'gsxws/diagnostics.py')
-rw-r--r-- | gsxws/diagnostics.py | 9 |
1 files changed, 6 insertions, 3 deletions
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 |