def test_combinations_filter_out(self):
     headers, rows = get_combinations('basic', [], None, 0, None,
                                      ['old_format'], True,
                                      self.fake_isdir, self.fake_open,
                                      self.fake_isfile, self.fake_listdir)
     self.assert_expected_combo_headers(headers)
     assert rows == [['basic', 'install', 'fixed-1', 'rbd_api_tests']]
 def test_combinations_only_facets(self):
     headers, rows = get_combinations('basic', [], None, 1, None,
                                      None, True,
                                      self.fake_isdir, self.fake_open,
                                      self.fake_isfile,
                                      self.fake_listdir)
     self.assert_expected_combo_headers(headers)
     assert rows == [['basic', 'install', 'fixed-1', 'rbd_api_tests']]
 def test_combinations_desc_features(self):
     headers, rows = get_combinations('basic', ['desc', 'rbd_features'],
                                      None, 1, None, None, False,
                                      self.fake_isdir, self.fake_open,
                                      self.fake_isfile,
                                      self.fake_listdir)
     assert headers == ['desc', 'rbd_features']
     descriptions = '\n'.join([
         'install ceph',
         'single node cluster',
         'c/c++ librbd api tests with default settings',
     ])
     assert rows == [[descriptions, 'default']]