diff --git a/tests/test_log.py b/tests/test_log.py index 57df30d47c1d803dd1e63528c06012ef2967faf1..9c273f7c7f9281d1768f4838fde2b1509716ac06 100644 --- a/tests/test_log.py +++ b/tests/test_log.py @@ -1,14 +1,19 @@ +""" +This file tests the output of executable sot-test-log compiled from +tests/sot-test-log.cc. +""" import unittest import subprocess import csv -# This file tests the output of executable sot-test-log compiled from -# tests/sot-test-log.cc. -# -# Logs are saved in binary format in file "build/tests/test.log-vstate.log", -# then converted in ascii in file "test.log-vstate-ascii.log" and then -# compared to the expected values. + class TestLog(unittest.TestCase): + """ + Logs are saved in binary format in file "build/tests/test.log-vstate.log", + then converted in ascii in file "test.log-vstate-ascii.log" and then + compared to the expected values. + """ + def test_log(self): subprocess.run("./sot-test-log") res = subprocess.run(