From d278969719a9fd089fe39eb74c31fcfe1ddac4fd Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 9 Oct 2015 10:39:05 +0300 Subject: Return diagnostic suites as two-tuple --- tests/test_gsxws.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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://') -- cgit v1.2.3