From 0f59e4339548de8bcccc3ebf85be9b2b49fd10f0 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Wed, 3 Nov 2021 14:39:40 +1000 Subject: [PATCH] Removed failing golden tests. - Some tests weren't position independant, and were only working for me. - Don't need to keep these, not all tools have integration tests. --- tests/golden-files/results/pydoc-hi3_py | 13 ------------- tests/golden-files/results/tar_bz2-hi_tar_bz2 | 1 - tests/golden-files/results/tar_gz-hi_tar_gz | 1 - tests/golden-files/results/tar_gz-hi_tgz | 1 - tests/tools_test.py | 12 ------------ 5 files changed, 28 deletions(-) delete mode 100644 tests/golden-files/results/pydoc-hi3_py delete mode 100644 tests/golden-files/results/tar_bz2-hi_tar_bz2 delete mode 100644 tests/golden-files/results/tar_gz-hi_tar_gz delete mode 100644 tests/golden-files/results/tar_gz-hi_tgz diff --git a/tests/golden-files/results/pydoc-hi3_py b/tests/golden-files/results/pydoc-hi3_py deleted file mode 100644 index 3ddb0fe..0000000 --- a/tests/golden-files/results/pydoc-hi3_py +++ /dev/null @@ -1,13 +0,0 @@ -Python Library Documentation: module hi3 - -NAME - hi3 - -FUNCTIONS - hi() - -FILE - /home/ahamilton/code/eris/tests/golden-files/input/hi3.py - - - \ No newline at end of file diff --git a/tests/golden-files/results/tar_bz2-hi_tar_bz2 b/tests/golden-files/results/tar_bz2-hi_tar_bz2 deleted file mode 100644 index f8f15e8..0000000 --- a/tests/golden-files/results/tar_bz2-hi_tar_bz2 +++ /dev/null @@ -1 +0,0 @@ --rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py diff --git a/tests/golden-files/results/tar_gz-hi_tar_gz b/tests/golden-files/results/tar_gz-hi_tar_gz deleted file mode 100644 index f8f15e8..0000000 --- a/tests/golden-files/results/tar_gz-hi_tar_gz +++ /dev/null @@ -1 +0,0 @@ --rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py diff --git a/tests/golden-files/results/tar_gz-hi_tgz b/tests/golden-files/results/tar_gz-hi_tgz deleted file mode 100644 index f8f15e8..0000000 --- a/tests/golden-files/results/tar_gz-hi_tgz +++ /dev/null @@ -1 +0,0 @@ --rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py diff --git a/tests/tools_test.py b/tests/tools_test.py index 714b272..e79c538 100755 --- a/tests/tools_test.py +++ b/tests/tools_test.py @@ -88,11 +88,6 @@ class ToolsTestCase(unittest.TestCase): HI_OK = [("hi3.py", tools.Status.ok)] - def test_pydoc(self): - # FIX: This is failing inside AppImages. - if "APPDIR" not in os.environ: - self._test_tool(tools.pydoc, self.HI_OK) - def test_mypy(self): self._test_tool(tools.mypy, self.HI_OK) @@ -135,13 +130,6 @@ class ToolsTestCase(unittest.TestCase): def test_zipinfo(self): self._test_tool(tools.zipinfo, [("hi.zip", tools.Status.ok)]) - def test_tar_gz(self): - self._test_tool(tools.tar_gz, [("hi.tar.gz", tools.Status.ok), - ("hi.tgz", tools.Status.ok)]) - - def test_tar_bz2(self): - self._test_tool(tools.tar_bz2, [("hi.tar.bz2", tools.Status.ok)]) - def test_nm(self): self._test_tool(tools.nm, [("libieee.a", tools.Status.ok), ("libpcprofile.so", tools.Status.ok)])