10 Commits

Author SHA1 Message Date
Adam Young
ceefe7f5fb Revert "from tests import"
This reverts commit d8599dcda06514a9687af3f714e55ff7580af9db.

Change-Id: Iddb881070a91b9761a567a7d3b6d906e228af9f6
2013-03-11 14:59:10 -04:00
Adam Young
d8599dcda0 from tests import
Makes the resolution of local imports work
when running individual tests.

Bug 1152326

Change-Id: I72f54bdbb60a6d7acf32bdbdc02d7bce69add84e
2013-03-08 11:51:49 -05:00
Dolph Mathews
ff669f0da9 v3 Catalog
- v3 catalog tests (bug 1023933)
- v3 catalog implementation (bug 1023938)

Change-Id: Ie118819d25afbff62327ffc8be5b5fda2ef7f4ed
2012-11-20 11:05:17 -06:00
Stef T
a225624a67 Unparseable endpoint URL's should raise friendly error
fixes bug #1058494

Change-Id: Id89c530e2f4e7dcf0db03515afb8b2a85fbf8077
2012-10-06 16:41:36 -04:00
Dolph Mathews
b6e568ede0 Implement token endpoint list (bug 1006777)
Change-Id: Ia7dad06ec763994ce0beb171c481ab01c20af6cb
2012-09-06 11:12:05 -05: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
Maru Newby
1f3557af59 Switch keystone.test.TestCase to use unittest2
* unittest2 is already a test dependency, and has a large
   number of improvements over unittest.  The switch suggested
   removing TestCase assertions that already existed in unittest2's
   version and updating all subclasses to use the unittest2
   equivalents.

Change-Id: I024134ae7cade3b4951c7508c1ea50070762720f
2012-03-27 13:55:14 -07:00
Jay Pipes
193374af38 Fixes LP #954089 - Service list templated catalog
* Adds missing test cases for the TemplatedCatalog
* Adds a base CatalogTest that different backends
  can use
* Updates kvs.Catalog to raise ServiceNotFound where
  appropriate
* Updates the tests.test_keystoneclient_sql to actually
  test the SQL catalog backend
* Removes old test for incorrect endpoints listing
* Removes the keystone.catalog.core.Driver.service_exists
  method since it was only implemented in the SQL driver
  and wasn't required now that get_service and delete_service
  properly raise ServiceNotFound exception.

Change-Id: I35690cc147e56007be27bacf94eeff360e727e5d
2012-03-19 12:08:30 -04:00