aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_gsxws.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gsxws.py')
-rw-r--r--tests/test_gsxws.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py
index 2596f52..ee1d943 100644
--- a/tests/test_gsxws.py
+++ b/tests/test_gsxws.py
@@ -10,6 +10,7 @@ from gsxws import repairs, escalations
class TestEscalationFunctions(TestCase):
+ @skip("Skip")
def setUp(self):
from gsxws.core import connect
logging.basicConfig(level=logging.DEBUG)
@@ -150,5 +151,17 @@ class TestOnsiteDispatchDetail(TestCase):
self.assertIsInstance(self.data.dispatchOrderLines.isSerialized, bool)
+class TestCarryinRepairDetail(TestCase):
+ def setUp(self):
+ self.data = parse('tests/fixtures/repair_details_ca.xml',
+ 'lookupResponseData')
+
+ def test_details(self):
+ self.assertEqual(self.data.dispatchId, 'G2093174681')
+
+ def test_unicode_name(self):
+ self.assertEqual(self.data.primaryAddress.firstName, u'Ääkköset')
+
+
if __name__ == '__main__':
main()