3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

autotests: Fix an assertRaises parameter

This commit is contained in:
Andrew Zaborowski 2017-09-30 04:28:15 +02:00 committed by Denis Kenzior
parent 47ae8571c1
commit 07d07bb2ca

View File

@ -104,7 +104,7 @@ class Test(unittest.TestCase):
testutil.test_iface_operstate(device.name)
testutil.test_ifaces_connected(bss_hostapd[0].ifname, device.name)
self.assertRaises(Exception, testutil.test_ifaces_connected,
(bss_hostapd[1].ifname, device.name))
bss_hostapd[1].ifname, device.name)
# Check that iwd starts transition to BSS 1 in less than 15 seconds
rule0.signal = -8000