[Libosinfo] [PATCH osinfo-db 01/15] tests: test_isoinfo: Remove unused function
Cole Robinson
crobinso at redhat.com
Mon Mar 25 14:32:05 UTC 2019
Left over after refactoring in ff3d95af8
Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
tests/test_isoinfo.py | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/tests/test_isoinfo.py b/tests/test_isoinfo.py
index cbd62a3..4d70d87 100644
--- a/tests/test_isoinfo.py
+++ b/tests/test_isoinfo.py
@@ -148,22 +148,3 @@ def _get_isodatamedia(filepath):
return _ISODataMedia(filepath, volumeid, publisherid, systemid,
applicationid, volumesize)
-
-
-def _get_isodatamedias(_os):
- isodata_path = os.path.join(
- os.path.dirname(os.path.realpath(__file__)),
- 'isodata')
- shortid_path = os.path.join(isodata_path, _os.distro, _os.shortid)
-
- medias = []
- if not os.path.exists(shortid_path):
- return []
-
- for _file in os.listdir(shortid_path):
- path = os.path.join(shortid_path, _file)
- if not os.path.exists(path):
- continue
-
- medias.append(_get_isodatamedia(path))
- return medias
--
2.21.0
More information about the Libosinfo
mailing list