tests: Use updated unittest method

This commit is contained in:
Tomas Babej 2020-11-20 23:59:56 -05:00 committed by Paul Beckingham
parent 407d66d681
commit 02db131fa1
50 changed files with 315 additions and 315 deletions

View file

@ -48,7 +48,7 @@ class TestCustomReports(TestCase):
def test_custom_report_help(self):
"""Verify custom report description is shown in help"""
code, out, err = self.t("help")
self.assertRegexpMatches(out, "task <filter> foo\s+DESC\n")
self.assertRegex(out, "task <filter> foo\s+DESC\n")
def test_custom_filter(self):
"""Verify custome report filtr is applied"""