summaryrefslogtreecommitdiffstats
path: root/tests/test_policy.py
Commit message (Collapse)AuthorAgeFilesLines
* Isolate eventlet code into environment.Jamie Lennox2013-06-181-1/+2
| | | | | | | | | | | | | | | | | | The environment module will be configured once, during code initialization. Subsequently all other possibly-evented modules will retrieve from environment and transparently obtain either the eventlet or standard library modules. If eventlet, httplib, subprocess or other environment dependant module is referenced outside of the environment module it should be considered a bug. The changes to tests are required to ensure that test is imported first to setup the environment. Hopefully these can all be replaced with an __init__.py in a post-nose keystone. Implements: blueprint extract-eventlet Change-Id: Icacd6f2ee0906ac5d303777c1f87a184f38283bf
* imports not in alphabetical order (flake8 H306)Dolph Mathews2013-05-241-1/+1
| | | | Change-Id: I0f6c5fc27b0bb2da553e9345a8ac4949ce46e685
* Ensure keystone unittests do not leave CONF.policyfile in bad stateHenry Nash2013-02-221-0/+2
| | | | | | | | | | | | | | A few of the tests overwrite the name of the policy file (so they can use a temp file instead). However, if it is left that way, subsequent tests that rely on it may fail. A separate patch will look at doing a more comprehensive reset in the setup of test_v3 - ensuring we always start from a completely clean slate for all confirguration parameters. Fixes Bug #1131819 Change-Id: Ibe5ee12f44310de00b12ddd405c83f59b2d840b7
* Update the Keystone policy engine to the latest openstack commonHenry Nash2013-02-191-21/+29
| | | | | | Fixes Bug #1126037 Change-Id: I246bc9c0c2eb0f4af97c11588c80e4bcea06e747
* Reorder test imports by full import pathZhongyue Luo2012-07-031-2/+2
| | | | | | | | Fixes bug #1020182 Reorder imports of modules in keystone/tests. Change-Id: I2ff61dd3d9486281b4a2a889e4dc8b9105c87d49
* port common policy code to keystonetermie2012-03-081-0/+180
keystone.common.policy is copied from nova leave simple backend in as a shim until devstack stops referencing it Change-Id: Ibd579cfeb99465706d525b6565818a2d8f5f3b7c