Added a test for the tar_gz tool.
This commit is contained in:
parent
5adb3b2eab
commit
f73345ef3c
5 changed files with 7 additions and 0 deletions
BIN
golden-files/input/hi.tar.gz
Normal file
BIN
golden-files/input/hi.tar.gz
Normal file
Binary file not shown.
BIN
golden-files/input/hi.tgz
Normal file
BIN
golden-files/input/hi.tgz
Normal file
Binary file not shown.
1
golden-files/results/tar_gz-hi_tar_gz
Normal file
1
golden-files/results/tar_gz-hi_tar_gz
Normal file
|
|
@ -0,0 +1 @@
|
|||
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py
|
||||
1
golden-files/results/tar_gz-hi_tgz
Normal file
1
golden-files/results/tar_gz-hi_tgz
Normal file
|
|
@ -0,0 +1 @@
|
|||
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py
|
||||
|
|
@ -144,6 +144,11 @@ class ToolsTestCase(unittest.TestCase):
|
|||
self._sub_tests([
|
||||
(tools.unzip, "hi.zip", tools.Status.normal)])
|
||||
|
||||
def test_tar_gz(self):
|
||||
self._sub_tests([
|
||||
(tools.tar_gz, "hi.tar.gz", tools.Status.normal),
|
||||
(tools.tar_gz, "hi.tgz", tools.Status.normal)])
|
||||
|
||||
def test_html_syntax(self):
|
||||
self._sub_tests([
|
||||
(tools.html_syntax, "hi.html", tools.Status.problem)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue