From: Masashi Honma Date: Thu, 31 Jan 2019 08:15:40 +0000 (+0900) Subject: tests: python3 requires a raw string due to the backslash X-Git-Tag: hostap_2_8~480 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc664dfc09eae1884d52005694358cca6913e3ef;p=thirdparty%2Fhostap.git tests: python3 requires a raw string due to the backslash Signed-off-by: Masashi Honma --- diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index 4215f3a9f..f39b924b5 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -1875,7 +1875,7 @@ def test_ap_wpa2_eap_peap_eap_mschapv2_domain(dev, apdev): check_eap_capa(dev[0], "MSCHAPV2") params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap") hapd = hostapd.add_ap(apdev[0], params) - eap_connect(dev[0], hapd, "PEAP", "DOMAIN\user3", + eap_connect(dev[0], hapd, "PEAP", r"DOMAIN\user3", anonymous_identity="peap", password="password", ca_cert="auth_serv/ca.pem", phase2="auth=MSCHAPV2") hwsim_utils.test_connectivity(dev[0], hapd)