]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
test-describe-tests: remove unnecessary vars
authorJosh Durgin <jdurgin@redhat.com>
Wed, 2 Dec 2015 08:09:29 +0000 (00:09 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 9 Dec 2015 21:04:54 +0000 (13:04 -0800)
These tests use the class-initialized attributes instead.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
teuthology/test/test_describe_tests.py

index aa8615d3e3d396d85e59b80da8f2d8a5f6c3afa4..178080174310a799ea22fd4060938c5a15a25c3a 100644 (file)
@@ -139,8 +139,6 @@ class TestDescribeTests(object):
                                      expected_rbd_features))
 
     def test_no_matching(self):
-        fake_listdir, _, fake_isdir, fake_open = \
-            make_fake_fstools(realistic_fs)
         rows = tree_with_info('basic', ['extra'], False, '', [],
                               self.fake_listdir, self.fake_isdir,
                               self.fake_open)
@@ -153,8 +151,6 @@ class TestDescribeTests(object):
                                      [''] * len(expected_tree)))
 
     def test_multiple_filters(self):
-        fake_listdir, _, fake_isdir, fake_open = \
-            make_fake_fstools(realistic_fs)
         rows = tree_with_info('basic', ['desc', 'rbd_features'], False,
                               '', [], self.fake_listdir,
                               self.fake_isdir, self.fake_open)