Added a test for the tar_bz2 tool.

This commit is contained in:
Andrew Hamilton 2016-02-09 22:26:38 +00:00
parent f73345ef3c
commit f686497d55
3 changed files with 5 additions and 0 deletions

Binary file not shown.

View file

@ -0,0 +1 @@
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py

View file

@ -149,6 +149,10 @@ class ToolsTestCase(unittest.TestCase):
(tools.tar_gz, "hi.tar.gz", tools.Status.normal),
(tools.tar_gz, "hi.tgz", tools.Status.normal)])
def test_tar_bz2(self):
self._sub_tests([
(tools.tar_bz2, "hi.tar.bz2", tools.Status.normal)])
def test_html_syntax(self):
self._sub_tests([
(tools.html_syntax, "hi.html", tools.Status.problem)])