aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_gsxws.py
diff options
context:
space:
mode:
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()