From d3fc9cb6dfc89ea118038a5868b99e459cab911b Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 2 Sep 2013 16:11:41 +0300 Subject: Match product line names with those returned by GSX --- tests/test_gsxws.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/test_gsxws.py') 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() -- cgit v1.2.3