keystone/keystone/tests
Brant Knudson b3c9a073bf Remove test_invalid_policy_raises_error
This test is validating internal behavior of the oslo.policy
library. Since oslo.policy already has tests for this
function, we don't have to test it in keystone.

As of commit 83d209e in oslo.policy the test fails because
oslo.policy has been enhanced to support YAML and the test is
using valid YAML.

An alternative is to change the test to have a file that's
invalid YAML (remove the ']'), but then it might break again.

An alternative is to change the test to mock out the behavior,
but then the test would just be showing that if we mock out
rules.enforce to raise ValueError it does that.

Change-Id: I4ead61566000aedf62c9c48b0702ea30472c9925
(cherry picked from commit 8eb7960e0f)
2016-05-10 19:01:38 +00:00
..
common Fix keystone.common.wsgi to explicitly use bytes 2016-03-02 01:30:20 -05:00
functional Correct docstrings 2016-02-01 21:35:15 -05:00
hacking Fixes hacking for Py3 tests 2016-03-02 02:11:09 +00:00
unit Remove test_invalid_policy_raises_error 2016-05-10 19:01:38 +00:00
__init__.py Move existing tests to unit 2015-02-13 15:54:29 -06:00