From c6c71309b48062ef9f0315b0d2fe69d6b65fe301 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 1 Oct 2015 12:22:17 +0300 Subject: Added fetch DC URL --- tests/test_gsxws.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test_gsxws.py') diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py index 593b8ca..b2ada9f 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_dc_url(self): + url = self.diag.fetch_dc_url() + self.assertRegexpMatches(url, r'^https://') + def test_initiate_email(self): self.diag.emailAddress = os.getenv('GSX_EMAIL') res = self.diag.initiate() -- cgit v1.2.3