From afc39a635a2ee508bad3f4a79096ca66eb96969e Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 11 Oct 2013 12:09:03 +0300 Subject: Added __unicode__ and __str__ to GsxObject --- tests/test_gsxws.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py index 432ed64..bee83b0 100644 --- a/tests/test_gsxws.py +++ b/tests/test_gsxws.py @@ -20,6 +20,12 @@ class RemoteTestCase(TestCase): env['GSX_ENV']) +class TestCoreFunctions(TestCase): + def test_dump(self): + r = repairs.Repair(blaa='test') + self.assertRegexpMatches(str(r), 'test') + + class TestErrorFunctions(TestCase): def setUp(self): xml = open('tests/fixtures/multierror.xml', 'r').read() -- cgit v1.2.3