diff --git a/barbican/tests/api/test_resources_policy.py b/barbican/tests/api/test_resources_policy.py index 59cf0f7d9..6b1742d58 100644 --- a/barbican/tests/api/test_resources_policy.py +++ b/barbican/tests/api/test_resources_policy.py @@ -51,6 +51,7 @@ class BaseTestCase(unittest.TestCase): def _generate_req(self, roles=None, accept=None): """Generate a fake HTTP request with security context added to it.""" req = mock.MagicMock() + req.get_param.return_value = None kwargs = { 'user': None,