mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00:00
Tools: Rewrite build system unit tests to python - sdkconfig, bootloader, components
This commit is contained in:
@@ -139,6 +139,6 @@ def fixture_default_idf_env() -> EnvDict:
|
||||
|
||||
@pytest.fixture
|
||||
def idf_py(default_idf_env: EnvDict) -> IdfPyFunc:
|
||||
def result(*args: str, check: bool = True) -> subprocess.CompletedProcess:
|
||||
return run_idf_py(*args, env=default_idf_env, workdir=os.getcwd(), check=check) # type: ignore
|
||||
def result(*args: str, check: bool = True, input_str: typing.Optional[str] = None) -> subprocess.CompletedProcess:
|
||||
return run_idf_py(*args, env=default_idf_env, workdir=os.getcwd(), check=check, input_str=input_str) # type: ignore
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user