]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: ElementTree string representation in python3 compatible manner
authorMasashi Honma <masashi.honma@gmail.com>
Mon, 4 Feb 2019 00:30:15 +0000 (02:30 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 4 Feb 2019 10:26:34 +0000 (12:26 +0200)
commit69f58282bc4434a715a54ecc69a964c9a0642c24
treeb4adf9350731ba031c04e8c32ab50cdc046d2901
parent308ecbc16edecbc80a59b692a4374177ce5a66aa
tests: ElementTree string representation in python3 compatible manner

Use ET.tostring() to avoid implicit bytes/str conversion issues within
ET implementation. Add XML declaration separately to match previous
behavior.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
tests/hwsim/test_ap_wps.py