Example #1
0
    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'))
Example #2
0
    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)