summaryrefslogtreecommitdiff
path: root/pycadf/tests
diff options
context:
space:
mode:
authorGordon Chung <chungg@ca.ibm.com>2013-08-14 10:29:18 -0400
committerGordon Chung <chungg@ca.ibm.com>2013-08-14 10:29:18 -0400
commit378f5759b08bc30aaef0ab2c41393dae41ac1fbc (patch)
tree59e83553e1bd3f7379635e2776a0463afff1aa10 /pycadf/tests
parentfac928f231e1a1013c4773575fd1fcb14187af67 (diff)
downloadpycadf-378f5759b08bc30aaef0ab2c41393dae41ac1fbc.tar.gz
move cadf correlation id under req.environ
move cadf correlation id under req.environ Change-Id: Iff247fdd065ac55b0455c7d6e5fe2ade9e98cfaa
Diffstat (limited to 'pycadf/tests')
-rw-r--r--pycadf/tests/audit/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pycadf/tests/audit/test_api.py b/pycadf/tests/audit/test_api.py
index 2cc112e..90f2ba4 100644
--- a/pycadf/tests/audit/test_api.py
+++ b/pycadf/tests/audit/test_api.py
@@ -56,7 +56,7 @@ class TestAuditApi(base.TestCase):
self.ENV_HEADERS['REQUEST_METHOD'] = method
req = webob.Request.blank(url, environ=self.ENV_HEADERS)
self.audit_api.append_audit_event(req)
- self.assertTrue(req.CADF_EVENT_CORRELATION_ID)
+ self.assertIn('CADF_EVENT_CORRELATION_ID', req.environ)
return req
def test_get_list(self):