]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
test_describe_tests: remove 'manual test stubs' 866/head
authorDan Mick <dan.mick@redhat.com>
Fri, 27 May 2016 22:11:30 +0000 (15:11 -0700)
committerDan Mick <dan.mick@redhat.com>
Fri, 27 May 2016 22:13:50 +0000 (15:13 -0700)
commit932f0d89a98e1aa0bd0ad9669f60137303a05dda
tree7cc0c73de74814e9ec9c88723d41e9b7b7b46997
parent92e89b67846e3c2143c1475fef870d4da468b0ed
test_describe_tests: remove 'manual test stubs'

Use a combined strategy: for test classes, use setup
to manage the list of patchers, also starting them
in setup because all the class-based tests use the same
fake fs data.

For the file-scope test functions, use @patch to manage them,
because the filesystem data changes with each test.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/describe_tests.py
teuthology/test/test_describe_tests.py