From fc2d39034b7ed3a5afbb6467302ae1cd431d57ad Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 19 Nov 2014 11:58:20 -0500 Subject: Add ClearRequestContext fixture Add a fixture class for use in tests to provide a way to flush the cached RequestContext without exposing how that is stored. bp/graduate-oslo-context Change-Id: I27dd50a61d364e1698823629e2676c10ced50af3 --- doc/source/api/autoindex.rst | 1 + doc/source/api/oslo_context.fixture.rst | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 doc/source/api/oslo_context.fixture.rst (limited to 'doc') diff --git a/doc/source/api/autoindex.rst b/doc/source/api/autoindex.rst index eaaf790..1d5d077 100644 --- a/doc/source/api/autoindex.rst +++ b/doc/source/api/autoindex.rst @@ -2,4 +2,5 @@ :maxdepth: 1 oslo_context.context.rst + oslo_context.fixture.rst oslo_context.tests.test_context.rst diff --git a/doc/source/api/oslo_context.fixture.rst b/doc/source/api/oslo_context.fixture.rst new file mode 100644 index 0000000..58ef47f --- /dev/null +++ b/doc/source/api/oslo_context.fixture.rst @@ -0,0 +1,7 @@ +The :mod:`oslo_context.fixture` Module +====================================== + +.. automodule:: oslo_context.fixture + :members: + :undoc-members: + :show-inheritance: -- cgit v1.2.1