From 0610f3efeab94b5c669bb8cd904871753421c695 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Thu, 28 Jul 2022 16:50:47 +0200 Subject: [PATCH] flake8 --- tests/test_log.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/tests/test_log.py b/tests/test_log.py index 57df30d..9c273f7 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( -- GitLab