summaryrefslogtreecommitdiffstats
path: root/tests/test_content_types.py
diff options
context:
space:
mode:
authorVictor Sergeyev <vsergeyev@mirantis.com>2013-07-26 16:45:59 +0300
committerVictor Sergeyev <vsergeyev@mirantis.com>2013-07-26 17:09:50 +0300
commit7c28b2753dd8fe176d734b803e0fb8abddc7e08c (patch)
tree16676e86878c10a443bb478d56076b5334fbc68a /tests/test_content_types.py
parent0a401529947c98ab761256e233b157071a57ab70 (diff)
downloadkeystone-7c28b2753dd8fe176d734b803e0fb8abddc7e08c.tar.gz
keystone-7c28b2753dd8fe176d734b803e0fb8abddc7e08c.tar.xz
keystone-7c28b2753dd8fe176d734b803e0fb8abddc7e08c.zip
Scipped tests don't render as ERROR's
Replaced `raise nose.exc.SkipTest()` statement to self.skipTest(). Removed unused nose.exc imports. Fixes bug 1172794 Change-Id: Ieb353864acadef43508d185156c7fa1667baa845
Diffstat (limited to 'tests/test_content_types.py')
-rw-r--r--tests/test_content_types.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_content_types.py b/tests/test_content_types.py
index 3213656c..ebb5dcef 100644
--- a/tests/test_content_types.py
+++ b/tests/test_content_types.py
@@ -18,7 +18,6 @@ import io
import uuid
from lxml import etree
-import nose.exc
import webtest
from keystone import test
@@ -471,7 +470,7 @@ class CoreApiTests(object):
self.assertValidTenantResponse(r)
def test_get_user_roles(self):
- raise nose.exc.SkipTest('Blocked by bug 933565')
+ self.skipTest('Blocked by bug 933565')
token = self.get_scoped_token()
r = self.admin_request(