mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-15 02:33:13 +00:00
Change assertRegexMatches to assertRegex
This commit is contained in:
parent
844e1a66ef
commit
6ab88c9b58
1 changed files with 1 additions and 1 deletions
|
|
@ -416,4 +416,4 @@ class TestUsedBy(TestCase, WagtailTestUtils):
|
|||
response = self.client.get(reverse('wagtaildocs_document_usage',
|
||||
args=(1,)))
|
||||
# There's no usage so there should be no table rows
|
||||
self.assertRegexpMatches(response.content, '<tbody>(\s|\n)*</tbody>')
|
||||
self.assertRegex(response.content, '<tbody>(\s|\n)*</tbody>')
|
||||
|
|
|
|||
Loading…
Reference in a new issue