Andrey Maslennikov
Andrey Maslennikov
Thanks @JulianSobott! But `cruft` also has `link` functionality, why doesn't it create new files/folders according to the template? I've just stuck with it, not the behavior I expect.
From [`BaseBackend`]( https://github.com/pytest-dev/pytest-testinfra/blob/01db77fbe8df63bdfe08e708bf2b425c46cd6782/testinfra/backend/base.py#L208..L209): ```py def run(self, command: str, *args: str, **kwargs: Any) -> CommandResult: raise NotImplementedError ``` So you can pass whatever parameter you want to `host.run()`, but the implementation...
@martinhoyer so you need only in `BaseBackend::run_local(...)`? This could look like this: ```diff - def run_local(self, command: str, *args: str) -> CommandResult: + def run_local( + self, command: str, *args:...
SSH is slightly different, it uses `-o ConnectTimeout=`, not the timeout on Python level. But anyway, this looks like a very useful feature. Yet maybe to keep the existing interface,...