aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_gsxws.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-10-11 12:09:03 +0300
committerFilipp Lepalaan <f@230.to>2013-10-11 12:09:03 +0300
commitafc39a635a2ee508bad3f4a79096ca66eb96969e (patch)
treece65e5c644e5be867e2384a061d58958880d70d8 /tests/test_gsxws.py
parent23258a4291d5419a553c8591e38cb8ad80927a89 (diff)
downloadpy-gsxws-afc39a635a2ee508bad3f4a79096ca66eb96969e.tar.gz
py-gsxws-afc39a635a2ee508bad3f4a79096ca66eb96969e.tar.bz2
py-gsxws-afc39a635a2ee508bad3f4a79096ca66eb96969e.zip
Added __unicode__ and __str__ to GsxObject
Diffstat (limited to 'tests/test_gsxws.py')
-rw-r--r--tests/test_gsxws.py6
1 files changed, 6 insertions, 0 deletions
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), '<root><blaa>test</blaa></root>')
+
+
class TestErrorFunctions(TestCase):
def setUp(self):
xml = open('tests/fixtures/multierror.xml', 'r').read()