def test_filelist(self): "Test use of exclude file list" from figleaf.annotate_html import make_html_filename x = utils.run_check('figleaf2html', '-x', 'tst-cover.exclude', '-D') (status, out, errout) = x print out, errout assert utils.does_dir_NOT_contain(self.htmldir, make_html_filename('tst-cover.py'))
def test_filelist(self): "Test use of explicit file list" from figleaf.annotate_html import make_html_filename x = utils.run_check('figleaf2html', '-f', 'tst-cover.file-list', '-D') (status, out, errout) = x print out, errout assert utils.does_dir_contain(self.htmldir, 'index.html', make_html_filename('tst-cover.py'), only_contains = True)