forked from platformio/platformio-core
Fix a test for examples
This commit is contained in:
1 parent
332874cd4b
commit
4ec64f8980
1 file changed
+1
-1
@@ -35,7 +35,7 @@ def pytest_generate_tests(metafunc):
|
||||
|
||||
# dev/platforms
|
||||
for manifest in PlatformManager().get_installed():
|
||||
p = PlatformFactory.newPlatform(manifest["__pkg_dir"])
|
||||
p = PlatformFactory.new(manifest["__pkg_dir"])
|
||||
examples_dir = join(p.get_dir(), "examples")
|
||||
assert isdir(examples_dir)
|
||||
examples_dirs.append(examples_dir)
|
||||
|
||||
Reference in new issue
Block a user