summaryrefslogtreecommitdiffstats
path: root/tests/test_keystoneclient_sql.py
Commit message (Collapse)AuthorAgeFilesLines
* Scipped tests don't render as ERROR'sVictor Sergeyev2013-07-261-3/+1
| | | | | | | | | Replaced `raise nose.exc.SkipTest()` statement to self.skipTest(). Removed unused nose.exc imports. Fixes bug 1172794 Change-Id: Ieb353864acadef43508d185156c7fa1667baa845
* 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
* Allow backend & client SQL tests on mysql and pg.Jamie Lennox2013-05-101-1/+7
| | | | | | | | | | | | | | Currently the tables are not created which means that it isn't possible for these tests to run on anything other than sqlite. Fix test issues where the token id that is used to create the token is not the same as the id that the token is saved with. Fix a number of foreign key constraints issues. Bug 1178041 Change-Id: Ib67eb97836e4224940abdeae4bba66748bfe4ca5
* Revert "from tests import"Adam Young2013-03-111-1/+1
| | | | | | This reverts commit d8599dcda06514a9687af3f714e55ff7580af9db. Change-Id: Iddb881070a91b9761a567a7d3b6d906e228af9f6
* from tests importAdam Young2013-03-081-1/+1
| | | | | | | | | Makes the resolution of local imports work when running individual tests. Bug 1152326 Change-Id: I72f54bdbb60a6d7acf32bdbdc02d7bce69add84e
* v3 PoliciesDolph Mathews2012-11-191-0/+75
| | | | | | | | - v3 policy (bp rbac-keystone-api) - v3 policy tests (bug 1023935) - v3 policy implementation (bug 1023939) Change-Id: I163fbb67726c295fe9ed09b68cd18d2273345d29
* Run test_keystoneclient_sql in-memoryDolph Mathews2012-11-131-5/+3
| | | | | | ~35% performance improvement vs an SSD on test_keystoneclient_sql Change-Id: Ie8c9cc0c3c56f784140998a625d943be528d5089
* Moved SQL backend tests into memoryDolph Mathews2012-10-231-1/+2
| | | | | | (test_keystoneclient_sql still uses a db on disk) Change-Id: I476ee710983adbe3436f41882e8483f8193daf5c
* Remove run_test.py in favor of stock nose.Monty Taylor2012-09-271-0/+4
| | | | | | | | | | | | Move specific functionality into test fixtures, so that normal test runners can work. For now, this means we can use unaltered nose. For the future, it gets us closer to being able to use other test runners such as testrepository which allow for things like parallel test runs and re-running failed tests in a dev/test cycle. Also, aligns keystone with nova and glance. Change-Id: Ic1966281c0bdfbc09792360209692e9d4a0a51a7
* Typo fix in keystone: existant => existentRongze Zhu2012-08-231-1/+1
| | | | | Change-Id: Ie6cd74382a7ada603c123968fe5407fddac619fd Impact: Test comments
* Fixing pep8 errors in tests/*pyDerek Higgins2012-07-091-3/+3
| | | | | | | | | | | Fixes bug 1022575 Making change to tests/*py to pass pep8 tests. pep8 tests started failing following 39b20acc933cb0fdf73075ddb9a9d82665b84b23 update pep8 to 1.3.3 04df79b64e5f2296df03579700535774e158f623 include tests dir in pep8 tests Change-Id: I2d7dec0a87f1ae9b5f828d7f321b65bf8c06a421
* Reorder test imports by full import pathZhongyue Luo2012-07-031-1/+1
| | | | | | | | Fixes bug #1020182 Reorder imports of modules in keystone/tests. Change-Id: I2ff61dd3d9486281b4a2a889e4dc8b9105c87d49
* Refactor 404's into managers & drivers (bug 968519)Dolph Mathews2012-06-271-0/+11
| | | | | | | | | | | | | | | The goal is to move the responsibility of reference checks away from controllers and into the underlying managers & drivers, which can handle the task with equal or greater efficiency. - Tenant references from create_user/update_user are NOT tested due to inconsistencies between backends - Additional test coverage improvements Also fixes bug 999209, bug 999608, bug 1006029, bug 1006055, bug 1006287, bug 1006334, and bug 1006344. Change-Id: I7de592e7dd4518038436b9a9fdaab559b00a0537
* Use cfg's new global CONF objectMark McLoughlin2012-06-131-4/+5
| | | | | | Implements blueprint cfg-global-object Change-Id: Ic53b41dafa8666ce21f33697f7e8697f1e5cb0fd
* Rename keystone.conf to .sample.Josh Kearney2012-04-101-1/+1
| | | | | | Fixes bug 966670. Change-Id: Ic57c9971c4f3a14c30e2382c58c3d0da6b2a7957
* endpoint-crud 404 (bug 963056)Dolph Mathews2012-03-271-0/+7
| | | | | | | endpoint-create endpoint-delete Change-Id: I70ae14ca385a0ed2d3438b8dc2f7ba93b91f400b
* Fix critical typo in endpoint_create (bug 961412)Dolph Mathews2012-03-211-0/+43
| | | | | | It looks like catalog crud was previously untested. Change-Id: I8e3060b6d6c737d3d97a5bd9076e9a5fdf9945e2
* Added Apache 2.0 License information.Monty Taylor2012-02-151-0/+14
| | | | | | Fixes bug 932819 Change-Id: I58e0c2ad704e2e8ff1924a01791694a5e02a154b
* Add token expirationBrian Waldon2012-02-141-1/+0
| | | | | | | * Config option token.expiration defines amount of time tokens should be valid * Fixes bug 928545 Change-Id: I3dff7a1ebf03bb44fc6e5247f976baea0581de08
* bcrypt the passwordstermie2012-01-241-1/+1
|
* fix some importstermie2012-01-181-2/+2
|
* merge test and default configstermie2012-01-091-1/+3
|
* renaming keystonelight to keystoneJoe Heck2012-01-091-4/+4
|
* run all teh keystoneclient tests against sql tootermie2012-01-091-0/+16