19 Commits

Author SHA1 Message Date
Dolph Mathews
827fc4c731 v3 Policies
- v3 policy (bp rbac-keystone-api)
- v3 policy tests (bug 1023935)
- v3 policy implementation (bug 1023939)

Change-Id: I163fbb67726c295fe9ed09b68cd18d2273345d29
2012-11-19 14:50:26 -06:00
Dolph Mathews
411dde190d Run test_keystoneclient_sql in-memory
~35% performance improvement vs an SSD on test_keystoneclient_sql

Change-Id: Ie8c9cc0c3c56f784140998a625d943be528d5089
2012-11-13 06:59:21 -06:00
Dolph Mathews
c6884c54a4 Moved SQL backend tests into memory
(test_keystoneclient_sql still uses a db on disk)

Change-Id: I476ee710983adbe3436f41882e8483f8193daf5c
2012-10-23 18:27:08 -05:00
Monty Taylor
49487a6ac6 Remove run_test.py in favor of stock nose.
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
2012-09-27 22:34:51 -07:00
Rongze Zhu
067fcf0339 Typo fix in keystone: existant => existent
Change-Id: Ie6cd74382a7ada603c123968fe5407fddac619fd
Impact: Test comments
2012-08-23 03:40:34 +00:00
Derek Higgins
7cdae1bc02 Fixing pep8 errors in tests/*py
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
2012-07-09 16:11:30 +01:00
Zhongyue Luo
a7417e26d8 Reorder test imports by full import path
Fixes bug #1020182

Reorder imports of modules in keystone/tests.

Change-Id: I2ff61dd3d9486281b4a2a889e4dc8b9105c87d49
2012-07-03 00:21:39 +08:00
Dolph Mathews
23ca656927 Refactor 404's into managers & drivers (bug 968519)
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
2012-06-27 11:47:24 -05:00
Mark McLoughlin
b2aa78b558 Use cfg's new global CONF object
Implements blueprint cfg-global-object

Change-Id: Ic53b41dafa8666ce21f33697f7e8697f1e5cb0fd
2012-06-13 08:14:40 +01:00
Josh Kearney
f640093ba8 Rename keystone.conf to .sample.
Fixes bug 966670.

Change-Id: Ic57c9971c4f3a14c30e2382c58c3d0da6b2a7957
2012-04-10 12:38:50 -05:00
Dolph Mathews
9cf91c951e endpoint-crud 404 (bug 963056)
endpoint-create
endpoint-delete

Change-Id: I70ae14ca385a0ed2d3438b8dc2f7ba93b91f400b
2012-03-27 20:18:26 -07:00
Dolph Mathews
9feb00085f Fix critical typo in endpoint_create (bug 961412)
It looks like catalog crud was previously untested.

Change-Id: I8e3060b6d6c737d3d97a5bd9076e9a5fdf9945e2
2012-03-21 13:12:37 -05:00
Monty Taylor
8d7189f117 Added Apache 2.0 License information.
Fixes bug 932819

Change-Id: I58e0c2ad704e2e8ff1924a01791694a5e02a154b
2012-02-15 17:48:33 -08:00
Brian Waldon
71436dbf18 Add token expiration
* Config option token.expiration defines amount of time tokens should be valid
* Fixes bug 928545

Change-Id: I3dff7a1ebf03bb44fc6e5247f976baea0581de08
2012-02-14 14:18:50 -08:00
termie
4899210334 bcrypt the passwords 2012-01-24 00:56:53 -08:00
termie
e2f04f224e fix some imports 2012-01-18 21:47:18 -08:00
termie
3c88b7f546 merge test and default configs 2012-01-09 15:52:48 -08:00
Joe Heck
763013c526 renaming keystonelight to keystone 2012-01-09 12:27:18 -08:00
termie
4b4ada27ca run all teh keystoneclient tests against sql too 2012-01-09 10:00:09 -08:00