diff options
author | Dolph Mathews <dolph.mathews@gmail.com> | 2012-02-21 16:38:40 -0600 |
---|---|---|
committer | Dolph Mathews <dolph.mathews@gmail.com> | 2012-02-27 10:03:24 -0600 |
commit | 33a13b7dcd82ee926a707bf1cc7f87ae2b90c98e (patch) | |
tree | eee1cf7093aaa37d9b03a7e536be0718ead1ec0b /tests/test_content_types.py | |
parent | 212489084fac8de20718bfccad2f77cbfa7ea3e2 (diff) | |
download | keystone-33a13b7dcd82ee926a707bf1cc7f87ae2b90c98e.tar.gz keystone-33a13b7dcd82ee926a707bf1cc7f87ae2b90c98e.tar.xz keystone-33a13b7dcd82ee926a707bf1cc7f87ae2b90c98e.zip |
Add HEAD /tokens/{token_id} (bug 933587)
Also addresses bug 928045 by returning 204 No Content
for null content bodies.
Change-Id: Icd4b8b5f6c29c074cb014c301fe86cd917f6663e
Diffstat (limited to 'tests/test_content_types.py')
-rw-r--r-- | tests/test_content_types.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_content_types.py b/tests/test_content_types.py index 016ffa9a..d2dd51e1 100644 --- a/tests/test_content_types.py +++ b/tests/test_content_types.py @@ -313,13 +313,12 @@ class CoreApiTests(object): sake of completely covering the core API. """ - raise nose.exc.SkipTest('Blocked by bug 933587') - token = self.get_scoped_token() self.admin_request(method='HEAD', path='/v2.0/tokens/%(token_id)s' % { 'token_id': token, }, - token=token) + token=token, + expected_status=204) def test_endpoints(self): raise nose.exc.SkipTest('Blocked by bug 933555') |