diff options
author | Filipp Lepalaan <f@230.to> | 2013-10-12 15:07:45 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-10-12 15:07:45 +0300 |
commit | f9b3ba93e92b4b3de5b093ec6e7fb3f6a6145b7b (patch) | |
tree | 2e88d3fa6735fe3f378bce1d936221ae995a4e1c /tests/test_gsxws.py | |
parent | 3c0c921d8134d4e83676f2f817b2a805df1e5906 (diff) | |
download | py-gsxws-f9b3ba93e92b4b3de5b093ec6e7fb3f6a6145b7b.tar.gz py-gsxws-f9b3ba93e92b4b3de5b093ec6e7fb3f6a6145b7b.tar.bz2 py-gsxws-f9b3ba93e92b4b3de5b093ec6e7fb3f6a6145b7b.zip |
Added GsxObject.dumps()
Diffstat (limited to 'tests/test_gsxws.py')
-rw-r--r-- | tests/test_gsxws.py | 4 |
1 files changed, 2 insertions, 2 deletions
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), '<root><blaa>test</blaa><orderLines>') + self.assertRegexpMatches(rep.dumps(), '<GsxObject><blaa>ääöö</blaa><orderLines>') class TestErrorFunctions(TestCase): |