3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

autotests: Update excpected exception in testConnectAutoconnect

Update the expected DBus exception in the manual connect case, affected
by recent EAP changes.  Also slightly improve the comment in the file
although it's still not 100% correct.
This commit is contained in:
Andrew Zaborowski 2018-04-26 11:29:29 +02:00 committed by Denis Kenzior
parent baf965ed76
commit 145711762f

View File

@ -18,7 +18,7 @@ class Test8021xNetwork(unittest.TestCase):
-------------------------------------------------------------------------- --------------------------------------------------------------------------
False True NotConfiguredEx is thrown False True NotConfiguredEx is thrown
True True Connection succeeds True True Connection succeeds
True - EAP method in True FailedEx is thrown True - EAP method in True NotSupportedEx is thrown
config file is not config file is not
supported by IWD supported by IWD
''' '''
@ -33,7 +33,7 @@ class Test8021xNetwork(unittest.TestCase):
IWD.clear_storage() IWD.clear_storage()
IWD.copy_to_storage('ssidEAP-Other.8021x') IWD.copy_to_storage('ssidEAP-Other.8021x')
tca.validate('ssidEAP-Other', False, iwd.FailedEx) tca.validate('ssidEAP-Other', False, iwd.NotSupportedEx)
IWD.clear_storage() IWD.clear_storage()