diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-07-31 09:11:53 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-07-31 09:11:53 +0300 |
commit | db5edc5f4f57685cdfd56400a86e817e8fd46d00 (patch) | |
tree | 68c570c34298c9b03e56c3965514076bd528e996 | |
parent | 5d07f224be301a14ac0af226f7565506a6df590f (diff) | |
download | py-gsxws-db5edc5f4f57685cdfd56400a86e817e8fd46d00.tar.gz py-gsxws-db5edc5f4f57685cdfd56400a86e817e8fd46d00.tar.bz2 py-gsxws-db5edc5f4f57685cdfd56400a86e817e8fd46d00.zip |
Added test for SymptomIssue API
-rw-r--r-- | tests/test_gsxws.py | 10 |
1 files changed, 6 insertions, 4 deletions
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'] |