summaryrefslogtreecommitdiff
path: root/keystoneclient/tests/unit/test_https.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace TestResponse with requests_mockJamie Lennox2016-01-251-4/+1
| | | | | | | | The TestResponse object doesn't do the right thing with regards to content vs text. Just reuse the one from requests_mock rather that try and fix it. Change-Id: Ia8bcae126babb0e616329928c57f875a50a957d6
* Deprecate create HTTPClient without sessionBrant Knudson2015-08-291-6/+12
| | | | | | | | | The comments indicated that creating a HTTPClient without a session is deprecated, but there was no warning generated. bp deprecations Change-Id: I44796cbff95a7bbdd6e7a58e5cfb8360bdae5477
* Deprecate use of cert and keyBrant Knudson2015-08-131-3/+3
| | | | | | | | | | | There was a comment to deprecate creating a Session with cert and key rather than a tuple to cert. Also, fixed places where the deprecated usage was being used. bp deprecations Change-Id: I3596635bbc5611dd002a8beb063540a8c284c192
* Proper deprecation for HTTPClient.request methodsBrant Knudson2015-08-041-3/+6
| | | | | | | | | | | | | HTTPClient.request and related methods weren't properly deprecated since they were only mentioned in the docstrings. Proper deprecation requires use of warnings/debtcollector and documentation. Also, fixed places where the deprecated request method was called. bp deprecations Change-Id: I0a16933252937ca046793bb6eb2e5cc5da03c9ae
* Proper deprecation for HTTPClient tenant_id, tenant_name parametersBrant Knudson2015-08-041-2/+2
| | | | | | | | | | | | | HTTPClient() tenant_id and tenant_name parameters weren't properly deprecated since they were only mentioned in the docstring. Proper deprecation requires use of warnings/debtcollector and documentation. Also fixed a bunch of places in the tests where tenant_id and tenant_name were still being used despite being deprecated. bp deprecations Change-Id: I9c4f596b8ff10aede6c417886638a942cb18044c
* Remove unused setUp from ClientTestBrant Knudson2015-06-131-7/+0
| | | | | | The mocking that's done in ClientTest.setUp isn't being used. Change-Id: I78e6012c7a26b27a7cc8da36469c5812e91282bf
* Move tests to the unit subdirectoryJamie Lennox2015-02-111-0/+107
Move all the existing tests to the unit/ subdirectory. This gives us some room to add a functional/ directory later with other tests. Change-Id: I0fb8d5b628eb8ee1f35f05f42d0c0ac9f285e8c3 Implements: functional-testing