@Test
@ExtendWith({ RepositoryManagementTestExecutionListener.class, ArtifactManagementTestExecutionListener.class })

public void testOnlyOnePackageFound(@PypiTestRepository(repositoryId = REPOSITORY_RELEASES,
                                                        storageId = STORAGE_PYPI) 
                                    Repository repository,
                                    @PypiTestArtifact(repositoryId = REPOSITORY_RELEASES,
                                                      storageId = STORAGE_PYPI,
                                                      id = "hello_world",
                                                      versions = "1.0.0") 
                                    Path packagePath)
    throws IOException
{
    PypiArtifactCoordinates artifactCoordinates = (PypiArtifactCoordinates) RepositoryFiles.readCoordinates((RepositoryPath) packagePath.normalize());
    String links = "<a href=\"" + "/storages/" + repository.getStorage().getId() + "/" + repository.getId() +
                   "/packages/" + artifactCoordinates.buildWheelPackageFileName() + "\">" +
                   artifactCoordinates.buildWheelPackageFileName() + "</a><br>\n";
    String expectedHtmlResponse = "<html>\n" +
                                  "        <head>\n" +
                                  "            <title>Links for " + artifactCoordinates.getId() + "</title>\n" +
                                  "        </head>\n" +
                                  "        <body>\n" +
                                  "            <h1>Links for " + artifactCoordinates.getId() + "</h1>\n" +
                                  "                   " + links +
                                  "        </body>\n" +
                                  "</html>";
    List<Path> paths = new ArrayList<>();
    paths.add(packagePath.normalize());
    String htmlResponse = htmlResponseBuilder.getHtmlResponse(paths);
    assertThat(htmlResponse).isNotBlank().isEqualTo(expectedHtmlResponse);
}