Reviewed: https://review.openstack.org/258578 Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=169a7c7f9e12ebc9933bd9ca4592e13b0de8b47b Submitter: Jenkins Branch: master
commit 169a7c7f9e12ebc9933bd9ca4592e13b0de8b47b Author: Alistair Coles <email address hidden> Date: Wed Dec 16 15:28:25 2015 +0000
Fix func test --until-failure and --no-discover options
This patch changes functional test classes to subclass unittest2.TestCase rather than unittest.TestCase. This fixes errors when attempting to use
tox -e func -- -n <test_path_including_test_method>
and
tox -e func -- --until-failure
Also migrate from using nose.SkipTest to unittest2.SkipTest
Change-Id: I903033f5e01833550b2f2b945894edca4233c4a2 Closes-Bug: 1526725 Co-Authored-By: Ganesh Maharaj Mahalingam <email address hidden>
Reviewed: https:/ /review. openstack. org/258578 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=169a7c7f9e1 2ebc9933bd9ca45 92e13b0de8b47b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 169a7c7f9e12ebc 9933bd9ca4592e1 3b0de8b47b
Author: Alistair Coles <email address hidden>
Date: Wed Dec 16 15:28:25 2015 +0000
Fix func test --until-failure and --no-discover options
This patch changes functional test classes to subclass TestCase rather than unittest.TestCase.
unittest2.
This fixes errors when attempting to use
tox -e func -- -n <test_path_ including_ test_method>
and
tox -e func -- --until-failure
Also migrate from using nose.SkipTest to unittest2.SkipTest
Change-Id: I903033f5e01833 550b2f2b945894e dca4233c4a2
Closes-Bug: 1526725
Co-Authored-By: Ganesh Maharaj Mahalingam <email address hidden>