eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit b9cb6134d6a150927eb3be308737cf9a0c5bf86b
parent 03ff410dffb98bd87e364de9c56facab546a3e35
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 10 Sep 2020 16:12:40 -0700

auto-t: update testAgent to use TestContext

This hides iwctl output unless verbose is specified

Diffstat:
Mautotests/testAgent/agent_test.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/autotests/testAgent/agent_test.py b/autotests/testAgent/agent_test.py @@ -10,6 +10,7 @@ from iwd import PSKAgent from iwd import NetworkType import testutil import subprocess +from config import ctx class Test(unittest.TestCase): @@ -57,7 +58,7 @@ class Test(unittest.TestCase): def test_connection_with_other_agent(self): wd = IWD() - iwctl = subprocess.Popen(['iwctl', '-P', 'secret_ssid2']) + iwctl = ctx.start_process(['iwctl', '-P', 'secret_ssid2']).pid # Let iwctl to start and register its agent. wd.wait(2) @@ -72,7 +73,7 @@ class Test(unittest.TestCase): wd = IWD() - iwctl = subprocess.Popen(['iwctl', '-P', 'secret_ssid2']) + iwctl = ctx.start_process(['iwctl', '-P', 'secret_ssid2']).pid # Let iwctl to start and register its agent. wd.wait(2)