From f9b3ba93e92b4b3de5b093ec6e7fb3f6a6145b7b Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sat, 12 Oct 2013 15:07:45 +0300 Subject: Added GsxObject.dumps() --- tests/test_gsxws.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py index af6d3bc..868a853 100644 --- a/tests/test_gsxws.py +++ b/tests/test_gsxws.py @@ -22,11 +22,11 @@ class RemoteTestCase(TestCase): class TestCoreFunctions(TestCase): def test_dump(self): - rep = repairs.Repair(blaa='test') + rep = repairs.Repair(blaa=u'ääöö') part = repairs.RepairOrderLine() part.partNumber = '661-5571' rep.orderLines = [part] - self.assertRegexpMatches(str(rep), 'test') + self.assertRegexpMatches(rep.dumps(), 'ääöö') class TestErrorFunctions(TestCase): -- cgit v1.2.3