tools: Fixed broken test.

- This was missed when changing from unzip to zipinfo.
This commit is contained in:
Andrew Hamilton 2018-06-04 09:27:43 +10:00
parent 8ea5c5fd11
commit 3609b31b29
3 changed files with 6 additions and 8 deletions

View file

@ -1,6 +0,0 @@
Archive: ./input/hi.zip
Length Date Time Name
--------- ---------- ----- ----
27 2016-02-09 21:50 hi.py
--------- -------
27 1 file

View file

@ -0,0 +1,4 @@
Archive: ./input/hi.zip
Zip file size: 187 bytes, number of entries: 1
-rw-rw-r-- 3.0 unx 27 tx stor 16-Feb-09 21:50 hi.py
1 file, 27 bytes uncompressed, 27 bytes compressed: 0.0%

View file

@ -182,8 +182,8 @@ class ToolsTestCase(unittest.TestCase):
def test_readelf(self):
self._test_tool(tools.readelf, [("Mcrt1.o", tools.Status.normal)])
def test_unzip(self):
self._test_tool(tools.unzip, [("hi.zip", tools.Status.normal)])
def test_zipinfo(self):
self._test_tool(tools.zipinfo, [("hi.zip", tools.Status.normal)])
def test_tar_gz(self):
self._test_tool(tools.tar_gz, [("hi.tar.gz", tools.Status.normal),