aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-09 10:39:05 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-10-09 10:39:05 +0300
commitd278969719a9fd089fe39eb74c31fcfe1ddac4fd (patch)
treef14c4f24e0ed684e394a4bfeca4e7e63f38ffc74 /tests
parentc6c71309b48062ef9f0315b0d2fe69d6b65fe301 (diff)
downloadpy-gsxws-d278969719a9fd089fe39eb74c31fcfe1ddac4fd.tar.gz
py-gsxws-d278969719a9fd089fe39eb74c31fcfe1ddac4fd.tar.bz2
py-gsxws-d278969719a9fd089fe39eb74c31fcfe1ddac4fd.zip
Return diagnostic suites as two-tuple
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gsxws.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py
index b2ada9f..22372ab 100644
--- a/tests/test_gsxws.py
+++ b/tests/test_gsxws.py
@@ -67,6 +67,10 @@ class DiagnosticsTestCase(TestCase):
for r in res.diagnosticProfileData.report.reportData.key:
self.assertUnicodeOrInt(r.value)
+ def test_fetch_suites(self):
+ suites = self.diag.fetch_suites()
+ self.assertIsInstance(suites[0][0], int)
+
def test_fetch_dc_url(self):
url = self.diag.fetch_dc_url()
self.assertRegexpMatches(url, r'^https://')