scripts: pytest: improve plugin options
Add better description of available options and add actions which should help to prevent from passing invalid options to plugin. Signed-off-by: Piotr Golyzniak <piotr.golyzniak@nordicsemi.no>
This commit is contained in:
parent
a31b24372c
commit
eb672ddd0a
11 changed files with 102 additions and 109 deletions
|
@ -18,7 +18,7 @@ from twister_harness.twister_harness_config import DeviceConfig
|
|||
def fixture_device_adapter(tmp_path) -> Generator[QemuAdapter, None, None]:
|
||||
build_dir = tmp_path / 'build_dir'
|
||||
os.mkdir(build_dir)
|
||||
device = QemuAdapter(DeviceConfig(build_dir=build_dir))
|
||||
device = QemuAdapter(DeviceConfig(build_dir=build_dir, type='qemu'))
|
||||
try:
|
||||
yield device
|
||||
finally:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue