forked from platformio/platformio-core
Skip testing of package if SF is offline
This commit is contained in:
1 parent
03636ad4ae
commit
cd764d4b10
1 file changed
+1
-1
@@ -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