From db5edc5f4f57685cdfd56400a86e817e8fd46d00 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 31 Jul 2015 09:11:53 +0300 Subject: Added test for SymptomIssue API --- tests/test_gsxws.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py index 0ca4c78..29a47fc 100644 --- a/tests/test_gsxws.py +++ b/tests/test_gsxws.py @@ -15,10 +15,7 @@ from gsxws import (repairs, escalations, lookups, class RemoteTestCase(TestCase): def setUp(self): from gsxws.core import connect - connect(env['GSX_USER'], - env['GSX_PASSWORD'], - env['GSX_SOLDTO'], - env['GSX_ENV']) + connect(env['GSX_USER'], env['GSX_SOLDTO'], env['GSX_ENV']) def assertUnicodeOrInt(self, val): try: @@ -183,6 +180,11 @@ class TestEscalationFunctions(RemoteTestCase): class TestRepairFunctions(RepairTestCase): + def test_symptom_issue(self): + from gsxws.repairs import SymptomIssue + r = SymptomIssue(serialNumber=env['GSX_SN']).fetch() + print r + def test_repair_or_replace(self): rep = repairs.RepairOrReplace() rep.serialNumber = env['GSX_SN'] -- cgit v1.2.3