tests: Use updated unittest methods

This commit is contained in:
Tomas Babej 2020-11-21 12:39:03 -05:00
parent 720c561b75
commit 52c49169b4
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5
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"""