From dc661e006b4c3f035ef2a090745678ccf212839c Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 13 May 2013 15:43:43 +0300 Subject: Fixing nesting in GsxObject to_xml --- gsxws/core.py | 10 ++++++++-- gsxws/repairs.py | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'gsxws') diff --git a/gsxws/core.py b/gsxws/core.py index cd35386..d9ce56b 100644 --- a/gsxws/core.py +++ b/gsxws/core.py @@ -319,7 +319,10 @@ class GsxObject(object): """ Returns this object as an XML Element - >>> GsxObject(spam='eggs', spices=['salt', 'pepper']) + >>> GsxObject(spam='eggs', spices=[{'salt': 'pepper'}]) #doctest: +ELLIPSIS + <__main__.GsxObject object at 0x... + >>> GsxObject(spam='eggs', spices=[{'salt': 'pepper'}]).to_xml('blaa') #doctest: +ELLIPSIS +