Actually run `test_skip_attr_*` unit tests
There was a typo in the code which make the test to raise a
`SkipException`. But we really want is to catch and assert on
this exception.
Change-Id: If94c9fe2d27e57cdfe2de4707bf3e1aa43950ec1
diff --git a/tempest/tests/lib/test_decorators.py b/tempest/tests/lib/test_decorators.py
index 558445d..07b577c 100644
--- a/tempest/tests/lib/test_decorators.py
+++ b/tempest/tests/lib/test_decorators.py
@@ -109,7 +109,7 @@
t = TestFoo('test_foo')
if expected_to_skip:
self.assertRaises(testtools.TestCase.skipException,
- t.test_foo())
+ t.test_foo)
else:
try:
t.test_foo()