magnum/magnum/tests/api/controllers
Andrew Melton 5999adfa0d Pull RequestContext Patching Into Test Base
The new patching only ensures that auth_token_info is properly
set up by default. A real RequestContext is returned, and it is
passed through to_dict and from_dict to ensure there are no
assumptions made that will not work through RPC.

If necessary, tests can still return a mock context by setting
a return_value or side_effect on self.mock_make_ctxt.

Change-Id: I6369e0bd89d83a5ea3ddde2b35423233fee18327
2015-01-28 10:37:50 -08:00
..
v1 Pull RequestContext Patching Into Test Base 2015-01-28 10:37:50 -08:00
__init__.py Rename the test_functional.py to the api 2014-12-11 12:44:59 -07:00
test_root.py Add k8s replication support for magnum 2015-01-02 18:29:18 -05:00