Skip to content

Commit 17a7f72

Browse files
authored
fix zlib and lighttpd long tests (#595)
* fixes #580 * fixes #552
1 parent 7962626 commit 17a7f72

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

test/test_scanner.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,12 +1338,11 @@ def test_binaries(self, binary, package, version, are_in, not_in):
13381338
"lighttpd",
13391339
"1.4.54",
13401340
),
1341-
pytest.param(
1342-
"https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/l/",
1343-
"lighttpd-1.4.55-1.el8.x86_64.rpm",
1341+
(
1342+
"https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/31/Everything/x86_64/os/Packages/l/",
1343+
"lighttpd-1.4.54-2.fc31.x86_64.rpm",
13441344
"lighttpd",
1345-
"1.4.55",
1346-
marks=pytest.mark.xfail(reason="File won't download on github"),
1345+
"1.4.54",
13471346
),
13481347
(
13491348
"https://ftp.lysator.liu.se/pub/opensuse/distribution/leap/15.1/repo/oss/x86_64/",
@@ -1525,12 +1524,12 @@ def test_binaries(self, binary, package, version, are_in, not_in):
15251524
"zlib",
15261525
"1.2.7",
15271526
),
1528-
# (
1529-
# "http://archive.ubuntu.com/ubuntu/pool/universe/z/zlib/",
1530-
# "zlib-bin_1.2.8.dfsg-1ubuntu1.1_amd64.deb",
1531-
# "zlib",
1532-
# "1.2.8",
1533-
# ),
1527+
(
1528+
"http://archive.ubuntu.com/ubuntu/pool/main/z/zlib/",
1529+
"zlib1g_1.2.8.dfsg-2ubuntu4_amd64.deb",
1530+
"zlib",
1531+
"1.2.8",
1532+
),
15341533
],
15351534
list(
15361535
map(

0 commit comments

Comments
 (0)