]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Align usage of test skipping.
authorMonty Taylor <mordred@inaugust.com>
Thu, 16 May 2013 16:20:51 +0000 (09:20 -0700)
committerMonty Taylor <mordred@inaugust.com>
Fri, 17 May 2013 15:14:10 +0000 (08:14 -0700)
commit38ed88a0b698011560ebe74502e0ae4b93c71618
treef25b30f2452c3ba6ab7d79f874b2ed74d84643b8
parent0f47986b659407058c26b4bef9c7441ecb5772c4
Align usage of test skipping.

There were three different mechanisms for skipping tests in the suite.
For the most part, skipIf was used, so sync to that. Additionally, it
was being used as a decorater in most places, but as a call in a few,
so make it a decorator everywhere. Finally, if it's on the setUp method,
it's not necessary for it to be on any of the individual tests in the class.

Change-Id: I7fbd09a6bc015e698a190b989d0f8641c4adb63e
heat/tests/test_quantum.py
heat/tests/test_s3.py
heat/tests/test_swift.py
heat/tests/test_template_format.py
heat/tests/test_vpc.py