]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Empty network profile parameters will be valid
authorJouni Malinen <jouni@codeaurora.org>
Fri, 9 Oct 2020 13:41:16 +0000 (16:41 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 9 Oct 2020 13:50:36 +0000 (16:50 +0300)
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>
tests/hwsim/test_dbus.py

index e9d6b9e39c25f6bfff7caeafaf34e7e1a816684d..7b3d4bee5e9d1786d73e68ab2a507a18b8e3e2d6 100644 (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)