summaryrefslogtreecommitdiff
path: root/tests/unit/test_swiftclient.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | change assert_ to assertTrueChristian Berendt2014-05-141-1/+1
|/ | | | | | | According to http://docs.python.org/2/library/unittest.html assert_ is a deprecated alias of assertTrue. Change-Id: I18db0af72934dde4498502fb29579941d020cf01
* Only encode metadata for user customed headersChmouel Boudjnah2014-05-071-6/+6
| | | | | | | | | | Don't encode standard headers keys but just the x-*-meta- ones. That fixes py3 to not have them casted as bytes and not properly passed to the requests kwargs. Other trivial py3 fixes along the way. Change-Id: I91b95f32fb2aec9b20892a5bb95fd1bc65d002f3
* Add functional tests for python-swiftclientChristian Schwede2014-05-051-0/+1154
Coverage for swiftclient.client is 71% with these tests. Unit tests have been moved into another subdirectory to separate them from functional tests. Change-Id: Ib8c4d78f7169cee893f82906f6388a5b06c45602