mirror of
https://github.com/platformio/platformio-core.git
synced 2025-10-04 09:30:55 +02:00
Skip testing of package if SF is offline
This commit is contained in:
@@ -61,7 +61,7 @@ def test_package(package_data, sfpkglist):
|
|||||||
|
|
||||||
# check sha1 sum
|
# check sha1 sum
|
||||||
if sfpkglist is None:
|
if sfpkglist is None:
|
||||||
return
|
return pytest.skip("SF is offline")
|
||||||
pkgname = basename(package_data['url'])
|
pkgname = basename(package_data['url'])
|
||||||
assert pkgname in sfpkglist
|
assert pkgname in sfpkglist
|
||||||
assert package_data['sha1'] == sfpkglist.get(pkgname, {}).get("sha1")
|
assert package_data['sha1'] == sfpkglist.get(pkgname, {}).get("sha1")
|
||||||
|
Reference in New Issue
Block a user