Replace auth_token middleware tests with httpretty

Httpretty will work in exactly the same way regardless of whether we use
the httplib or requests library. Convert it so we can modify the
middleware and know that our tests are still correct.

In this process we also split the tests from having V3 tests override
V2 tests, to having a base test class and V2 and V3 seperate overrides.

Change-Id: I1bfcecc6ae47a6dd5e76d4ceb8b3941e6ad1089f
This commit is contained in:
Jamie Lennox
2013-08-01 17:15:09 +10:00
parent 415e01645d
commit 7ebe3b0a76

File diff suppressed because it is too large Load Diff