mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Test PlatformIO 3.0 packages
This commit is contained in:
@ -15,13 +15,12 @@
|
||||
import pytest
|
||||
import requests
|
||||
|
||||
from platformio.util import get_api_result
|
||||
|
||||
|
||||
def pytest_generate_tests(metafunc):
|
||||
if "package_data" not in metafunc.fixturenames:
|
||||
return
|
||||
pkgs_manifest = get_api_result("/packages/manifest")
|
||||
pkgs_manifest = requests.get(
|
||||
"https://dl.bintray.com/platformio/dl-packages/manifest.json").json()
|
||||
assert isinstance(pkgs_manifest, dict)
|
||||
packages = []
|
||||
for _, variants in pkgs_manifest.iteritems():
|
||||
|
Reference in New Issue
Block a user