summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2014-11-19 11:58:20 -0500
committerDoug Hellmann <doug@doughellmann.com>2014-11-19 11:58:56 -0500
commitfc2d39034b7ed3a5afbb6467302ae1cd431d57ad (patch)
tree616dc264a6a96cbff4921ea6aa7fbd722c296ef4 /doc
parent9152a0d38bcadb91c0ed01f3ccceeb671309bfeb (diff)
downloadoslo-context-fc2d39034b7ed3a5afbb6467302ae1cd431d57ad.tar.gz
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
Diffstat (limited to 'doc')
-rw-r--r--doc/source/api/autoindex.rst1
-rw-r--r--doc/source/api/oslo_context.fixture.rst7
2 files changed, 8 insertions, 0 deletions
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: