summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qwifi.py
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-06-17 10:50:02 +0200
committerHector Fernandez <hector@iatec.biz>2020-06-17 10:50:02 +0200
commit736ddcfe6dc3b5edbab6773f1c6687f6597fa7a3 (patch)
treecee12c8f7da45813f9e439b551bae139ce42ff62 /test-cli/test/tests/qwifi.py
parent7f13bbf84bec700c82e0cc2fea78a4026962f340 (diff)
downloadboard-736ddcfe6dc3b5edbab6773f1c6687f6597fa7a3.zip
board-736ddcfe6dc3b5edbab6773f1c6687f6597fa7a3.tar.gz
board-736ddcfe6dc3b5edbab6773f1c6687f6597fa7a3.tar.bz2
SOPA0000: Beatified JSON files generated by tests which use iperf3.
Diffstat (limited to 'test-cli/test/tests/qwifi.py')
-rw-r--r--test-cli/test/tests/qwifi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-cli/test/tests/qwifi.py b/test-cli/test/tests/qwifi.py
index 0944dd7..a5b66e9 100644
--- a/test-cli/test/tests/qwifi.py
+++ b/test-cli/test/tests/qwifi.py
@@ -62,7 +62,7 @@ class Qwifi(unittest.TestCase):
self.__bwreal = float(data['end']['sum_received']['bits_per_second']) / 1024 / 1024
# save result file
with open('/tmp/wifi-iperf.json', 'w') as outfile:
- json.dump(data, outfile)
+ json.dump(data, outfile, indent=4)
# check if BW is in the expected range
self.failUnless(self.__bwreal > float(self.__bwexpected) * 0.9,