tests: Empty network profile parameters will be valid

Remove this part of the dbus_network test case since it would be causing
failures after wpa_supplicant is modified to accept empty strings
through D-Bus.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-10-09 16:41:16 +03:00 committed by Jouni Malinen
parent 4756ecabcf
commit b2a1424659

View file

@ -1812,8 +1812,7 @@ def test_dbus_network(dev, apdev):
tests = [dbus.Dictionary({'psk': "1234567"}, signature='sv'),
dbus.Dictionary({'identity': dbus.ByteArray()},
signature='sv'),
dbus.Dictionary({'identity': dbus.Byte(1)}, signature='sv'),
dbus.Dictionary({'identity': ""}, signature='sv')]
dbus.Dictionary({'identity': dbus.Byte(1)}, signature='sv')]
for args in tests:
try:
iface.AddNetwork(args)