]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix EAP-FAST protocol testing with python3
authorJouni Malinen <j@w1.fi>
Tue, 5 Feb 2019 13:50:45 +0000 (15:50 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Feb 2019 13:50:45 +0000 (15:50 +0200)
This was hit on Ubuntu 18.04 (newer python3 and OpenSSL library versions
compared to earlier tests).

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_eap_proto.py

index a0dc6f4fb3b9e6621a3c2518a033222d2629f275..8cc64c0481b7b426f671343f832e5ed9ee7063d9 100644 (file)
@@ -8163,7 +8163,7 @@ def run_eap_fast_phase2(dev, test_payload, test_failure=True):
         except AttributeError:
             state = conn.get_state_string()
         if state:
-            logger.info("State: " + state)
+            logger.info("State: " + str(state))
 
     def process_clienthello(ctx, payload):
         logger.info("Process ClientHello")