autotests: Use device.name instead of a hardcoded interface

This commit is contained in:
Andrew Zaborowski 2019-04-20 22:32:53 +02:00 committed by Denis Kenzior
parent c73575585b
commit 1521b57ec9
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class Test(unittest.TestCase):
wd.wait_for_object_condition(ordered_network.network_object, condition)
testutil.test_iface_operstate()
testutil.test_ifaces_connected(hostapd_ifname, 'wln3')
testutil.test_ifaces_connected(hostapd_ifname, device.name)
device.disconnect()