summaryrefslogtreecommitdiffstats
path: root/tests/test_serializer.py
Commit message (Collapse)AuthorAgeFilesLines
* Version response compatible with FolsomBrant Knudson2013-06-111-0/+45
| | | | | | | | | | This change adds <link> elements to the <version id="v2.0"> element in the version response to be compatible with the response given by the Keystone server in the Folsom release. Fixes bug 1187101 Change-Id: Ida71e2dbe3cf432d429fb739e68a83d7e009ca40
* Adds tests for XML version responseBrant Knudson2013-06-111-26/+0
| | | | | | | | | | Adds tests for the version response when use Accept: application/xml To share code, moved assertEqualXML from test_serializer to keystone.test. Change-Id: I92e28a9167d0c77fc7efbd1eda2893ec1128354f
* Set empty element to ""gengjh2013-04-131-0/+23
| | | | | | | | | When serializer xml formatter response need set empty element to "" to align with JSON formatter. Fix bug 1168317 Change-Id: I4985791095f43eac88fe42ec16f6a78bbf77ec07
* Fix XML handling of member links (bug 1156594)Dolph Mathews2013-03-181-24/+52
| | | | | | | | | | | | This is a was revealed as a blocker for the default_project_id scoping tests. Also improves test coverage of XML de/serialization invertibility. The tests were previously sensitive to things like attribute ordering which are not relevant to test results. The fix is to compare canonically serialized XML instead of whatever lxml spews out. Change-Id: I003583038421d35aadbc781144d4cafb09392db5
* Fixes bug 1151747: broken XML translation for resource collectionsGuang Yee2013-03-131-0/+49
| | | | | | | Special-case "links" when converting a collection from JSON to XML and vice versa. Change-Id: I7ab1f50c1da3ec389930c1bf45d498551c4cf954
* bug 1131840: fix auth and token data for XML translationGuang Yee2013-02-261-0/+11
| | | | Change-Id: I4408b3e6e0752ca75bc36399f5148890820e9a89
* HACKING compliance: consistent use of 'except'Dolph Mathews2012-11-051-1/+1
| | | | Change-Id: I8301043965e08ffdec63441e612628d9a60876b7
* Add XML namespace support for OSADM service api.Vincent Hou2012-09-131-3/+1
| | | | | | Fixes Bug1042144. Change-Id: I0728cf8d0b38af973779beb952b3ef8475f2f0e1
* Fixing pep8 errors in tests/*pyDerek Higgins2012-07-091-4/+4
| | | | | | | | | | | Fixes bug 1022575 Making change to tests/*py to pass pep8 tests. pep8 tests started failing following 39b20acc933cb0fdf73075ddb9a9d82665b84b23 update pep8 to 1.3.3 04df79b64e5f2296df03579700535774e158f623 include tests dir in pep8 tests Change-Id: I2d7dec0a87f1ae9b5f828d7f321b65bf8c06a421
* Reorder test imports by full import pathZhongyue Luo2012-07-031-1/+1
| | | | | | | | Fixes bug #1020182 Reorder imports of modules in keystone/tests. Change-Id: I2ff61dd3d9486281b4a2a889e4dc8b9105c87d49
* Added license header (bug 929663)Dolph Mathews2012-03-091-0/+14
| | | | Change-Id: Ia36a22f2d6bba411e4fad81ea2d6fa1f0465a733
* XML de/serialization (bug 928058)Dolph Mathews2012-02-271-0/+155
Middleware rewrites incoming XML requests as JSON, and outgoing JSON as XML, per Accept and Content-Type headers. Tests assert that core API methods support WADL/XSD specs, and cover JSON content as well. Change-Id: I6897971dd745766cbc472fd6e5346b1b34d933b0