We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86e1171 commit 5ba548cCopy full SHA for 5ba548c
tests/conftest.py
@@ -199,6 +199,10 @@ def runcmd(self, cmd: str) -> int:
199
200
return 0
201
202
+ # used in buildimage tests, do not delete
203
+ def runcmd_async(self, cmd: str) -> subprocess.Popen:
204
+ return subprocess.Popen(f"ip netns exec {self.nsname} {cmd}", shell=True)
205
+
206
def runcmd_output(self, cmd: str) -> str:
207
return subprocess.check_output(f"ip netns exec {self.nsname} {cmd}", shell=True).decode("utf-8")
208
0 commit comments