auto-t: Exercise '--dontask' iwctl command-line option
This commit is contained in:
parent
19529a4d3a
commit
b3ccabea9e
|
@ -36,6 +36,11 @@ class Test(unittest.TestCase):
|
|||
|
||||
device = wd.list_devices(1)[0]
|
||||
|
||||
# Use --dontaks cmd-line option
|
||||
with self.assertRaises(subprocess.CalledProcessError):
|
||||
subprocess.check_call(['iwctl', '-d', 'station',
|
||||
device.name, 'connect', ssid])
|
||||
|
||||
subprocess.check_call(['iwctl', '-P', 'passphrase',
|
||||
'station', device.name, 'connect', ssid])
|
||||
|
||||
|
|
Loading…
Reference in New Issue