aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_gsxws.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2014-12-17 00:11:28 +0200
committerFilipp Lepalaan <filipp@mac.com>2014-12-17 00:11:28 +0200
commitc1d744de2e3f59a18bd0943f29911ccafba7c1b5 (patch)
treeff0da09399406d28974b3730f0a30f72a40078b9 /tests/test_gsxws.py
parent5defed13830d1e3f164b7c4894bd228fcfabd33f (diff)
downloadpy-gsxws-c1d744de2e3f59a18bd0943f29911ccafba7c1b5.tar.gz
py-gsxws-c1d744de2e3f59a18bd0943f29911ccafba7c1b5.tar.bz2
py-gsxws-c1d744de2e3f59a18bd0943f29911ccafba7c1b5.zip
CompTIA fixes0.5
Diffstat (limited to 'tests/test_gsxws.py')
-rw-r--r--tests/test_gsxws.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py
index 4192b09..0ca4c78 100644
--- a/tests/test_gsxws.py
+++ b/tests/test_gsxws.py
@@ -9,7 +9,7 @@ from unittest import main, skip, TestCase
from gsxws.objectify import parse, gsx_diags_timestamp
from gsxws.products import Product
from gsxws import (repairs, escalations, lookups,
- GsxError, ServicePart, diagnostics,)
+ GsxError, ServicePart, diagnostics, comptia,)
class RemoteTestCase(TestCase):
@@ -26,6 +26,14 @@ class RemoteTestCase(TestCase):
except AssertionError:
self.assertIsInstance(val, int)
+
+class ComptiaTestCase(RemoteTestCase):
+ def test_fetch_comptia(self):
+ data = comptia.CompTIA().fetch()
+ print data
+ self.assertIsInstance(data['E'], dict)
+
+
class DiagnosticsTestCase(RemoteTestCase):
def setUp(self):
super(DiagnosticsTestCase, self).setUp()