From 8d1c76e9a29a2bdf4a28afbd3945410a8c32bc6c Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 11 Oct 2013 14:33:49 +0300 Subject: Include data in GsxObject string rep. --- tests/test_gsxws.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py index bee83b0..af6d3bc 100644 --- a/tests/test_gsxws.py +++ b/tests/test_gsxws.py @@ -22,8 +22,11 @@ class RemoteTestCase(TestCase): class TestCoreFunctions(TestCase): def test_dump(self): - r = repairs.Repair(blaa='test') - self.assertRegexpMatches(str(r), 'test') + rep = repairs.Repair(blaa='test') + part = repairs.RepairOrderLine() + part.partNumber = '661-5571' + rep.orderLines = [part] + self.assertRegexpMatches(str(rep), 'test') class TestErrorFunctions(TestCase): -- cgit v1.2.3