forked from platformio/platformio-core
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
|
||||
if sfpkglist is None:
|
||||
return
|
||||
return pytest.skip("SF is offline")
|
||||
pkgname = basename(package_data['url'])
|
||||
assert pkgname in sfpkglist
|
||||
assert package_data['sha1'] == sfpkglist.get(pkgname, {}).get("sha1")
|
||||
|
Reference in New Issue
Block a user