diff --git a/tracer/Makefile b/tracer/Makefile index 06e2f08108..53469d4e58 100644 --- a/tracer/Makefile +++ b/tracer/Makefile @@ -9,4 +9,4 @@ logs/trace.latency.log: gst-launch-1.0 -q audiotestsrc num-buffers=10 wave=silence ! audioconvert ! autoaudiosink check: $(TEST_DATA) - python3 -m unittest discover tracer + python3 -m unittest discover tracer "*_test.py" diff --git a/tracer/tracer/parser_test.py b/tracer/tracer/parser_test.py index 0a3f6c1a3d..dc0f3c7fb9 100644 --- a/tracer/tracer/parser_test.py +++ b/tracer/tracer/parser_test.py @@ -43,4 +43,4 @@ class TestParser(unittest.TestCase): sys.stdin = TRACER_LOG_DATA with Parser('-') as log: event = next(log) - self.assertEquals(len(event), 10) + self.assertEqual(len(event), 10)