diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-10-09 10:39:05 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-10-09 10:39:05 +0300 |
commit | d278969719a9fd089fe39eb74c31fcfe1ddac4fd (patch) | |
tree | f14c4f24e0ed684e394a4bfeca4e7e63f38ffc74 /tests | |
parent | c6c71309b48062ef9f0315b0d2fe69d6b65fe301 (diff) | |
download | py-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.py | 4 |
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://') |