log_read: One more check for test
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 8 Nov 2021 15:01:25 +0000 (16:01 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 8 Nov 2021 15:12:23 +0000 (16:12 +0100)
test/test_log_read.py

index 7fd7fac..3bda994 100644 (file)
@@ -202,6 +202,7 @@ class LogReadTester(unittest.TestCase):
                 counter = -1        # we may have to adapt this manually
                 for desc, text in reader:
                     receive_time = perf_counter()
+                    self.assertEqual(desc, self.temp_file)
                     counter += 1
                     text = text.strip()
                     if DEBUG: