diff --git a/test/scripts/imgtestlib.py b/test/scripts/imgtestlib.py index 0c6c75b375..6731015517 100644 --- a/test/scripts/imgtestlib.py +++ b/test/scripts/imgtestlib.py @@ -178,14 +178,6 @@ def gen_build_info_dir_path(root, manifest_id): return os.path.join(root, manifest_id, "") -def gen_build_info_path(root, manifest_id): - """ - Generates the path to the info.json. - This is a simple os.path.join() of the components, but ensures that paths are consistent. - """ - return os.path.join(gen_build_info_dir_path(root, manifest_id), "info.json") - - def gen_build_info_s3_dir_path(osbuild_ref, runner_distro, distro=None, arch=None, manifest_id=None): """ Generates the s3 URL for the location where build info and artifacts will be stored for a specific diff --git a/test/scripts/test_imgtestlib.py b/test/scripts/test_imgtestlib.py index e060e9b6a0..65923397c1 100644 --- a/test/scripts/test_imgtestlib.py +++ b/test/scripts/test_imgtestlib.py @@ -166,8 +166,6 @@ def test_gen_build_info_s3_dir_path(kwargs, expected): def test_path_generators(): assert testlib.gen_build_info_dir_path("inforoot", "abc123") == \ "inforoot/abc123/" - assert testlib.gen_build_info_path("inforoot", "abc123") == \ - "inforoot/abc123/info.json" test_container = "registry.gitlab.com/redhat/services/products/image-builder/ci/osbuild-composer/manifest-list-test"