mirror of
https://github.com/platformio/platformio-core.git
synced 2025-10-04 09:30:55 +02:00
Fix tests after removing "autogen" prefix for init project
This commit is contained in:
@@ -46,9 +46,9 @@ def test_init_special_board(platformio_setup, clirunner, validate_cliresult):
|
||||
("targets", "upload")
|
||||
]
|
||||
|
||||
assert config.has_section("env:autogen_uno")
|
||||
assert config.has_section("env:uno")
|
||||
assert len(set(expected_result).symmetric_difference(
|
||||
set(config.items("env:autogen_uno")))) == 0
|
||||
set(config.items("env:uno")))) == 0
|
||||
|
||||
|
||||
def test_init_disable_auto_uploading(platformio_setup, clirunner,
|
||||
@@ -64,9 +64,9 @@ def test_init_disable_auto_uploading(platformio_setup, clirunner,
|
||||
("framework", "arduino"),
|
||||
("board", "uno")
|
||||
]
|
||||
assert config.has_section("env:autogen_uno")
|
||||
assert config.has_section("env:uno")
|
||||
assert len(set(expected_result).symmetric_difference(
|
||||
set(config.items("env:autogen_uno")))) == 0
|
||||
set(config.items("env:uno")))) == 0
|
||||
|
||||
|
||||
def test_init_incorrect_board(clirunner):
|
||||
|
Reference in New Issue
Block a user