debian-suds-jurko/tests
Jurko Gospodnetić 313185c9b4 marshal passed empty object optional params as empty tags
Before, passing an empty suds object as an optional parameter value was treated
the same as not passing that parameter's value or passing it None - the value
would not get marshalled into the constructed SOAP request at all.

Now, user can still not have the value marshalled by passing nothing or None,
but passing an empty object will get marshalled as an actual SOAP request XML
element.

This seems correct as passing an empty object and not passing an object are two
distinct use-cases and there are web-services out there (e.g.
`https://ads.google.com/apis/ads/publisher/v201502/LineItemService?wsdl`) that
do differentiate between the two.

Fixes issue filed on BitBucket under:
`https://bitbucket.org/jurko/suds/issues/81/suds-should-support-an-empty-object`

Kudos to Nicholas Chen (nicholaschen at BitBucket) & Mark Saniscalchi
(msaniscalchi at BitBucket) for reporting the issue and preparing the initial
fix.
2015-07-27 11:04:48 +02:00
..
external make unsupported external tests closer to using shared Python 2/3 code 2014-05-16 23:04:18 +02:00
profiling fix KeyboardInterrupt & SetupExit handling in tests/profiling/__init__.py 2014-05-17 14:09:25 +02:00
testutils correct accidental test WSDL schema content 2014-07-02 18:30:42 +02:00
conftest.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_argument_parser.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_cache.py test that DocumentCache.put() operation accepts Document instances 2014-06-15 20:09:31 +02:00
test_client.py correct accidental test WSDL schema content 2014-07-02 18:30:42 +02:00
test_compare_sax.py make tests/test_compare.sax.py a runnable script 2014-05-17 14:08:56 +02:00
test_date_time.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_dependency_sort.py refactor DepList.sort() to a standalone dependency_sort() function 2014-06-27 16:17:25 +02:00
test_document_store.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_input_parameters.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_mx.py test suds.mx.typer.Typer.getprefix() 2015-07-14 11:27:40 +02:00
test_plugin.py add tests for the suds.plugin module 2014-06-15 21:53:19 +02:00
test_reader.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_reply_handling.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_request_construction.py marshal passed empty object optional params as empty tags 2015-07-27 11:04:48 +02:00
test_sax_document.py test suds.sax.document.Document string conversions 2014-06-15 19:41:22 +02:00
test_sax_element.py test suds.sax.element.Element string conversions 2014-06-15 19:27:47 +02:00
test_sax_encoder.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_suds.py test looking for a type in an XSD with recursive type definition 2015-07-26 15:05:32 +02:00
test_timezone.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_transport.py reorganize tests - run on installed suds version + do not require py2to3 2014-05-17 14:08:18 +02:00
test_transport_http.py fix test failure with Python 3.4.2 2014-12-25 14:23:05 +01:00
test_xsd_builtins.py test XSD Decimal type string representation for value zero with a negative exp 2014-06-15 22:21:11 +02:00
test_xsd_element.py fix test module comment typo 2015-07-26 13:51:45 +02:00