tracer/Makefile: fix test invocation

And fix a deprecation warning.
This commit is contained in:
Stefan Sauer 2016-12-16 14:08:46 +01:00
parent 91ac5089cf
commit 2239c8b7ac
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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)