summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryatami38 <jagariko3829@outlook.jp>2024-11-03 05:46:27 +0900
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-11-11 14:47:04 +0100
commitfdca036827b7059c9915680da490ef3520f720fc (patch)
tree29470484a97ccde07a9b8aa1d46b41e80a3ed368
parent2bc43ccbdb28b9d87da172ef119ff3b48e6ff71a (diff)
Fixed a typo in some tests.
-rw-r--r--tests/test_client_regress/tests.py2
-rw-r--r--tests/test_utils/tests.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_client_regress/tests.py b/tests/test_client_regress/tests.py
index 4d47fb63af..b8efdca4f2 100644
--- a/tests/test_client_regress/tests.py
+++ b/tests/test_client_regress/tests.py
@@ -198,7 +198,7 @@ class AssertContainsTests(SimpleTestCase):
long_content = (
b"This is a very very very very very very very very long message which "
- b"exceedes the max limit of truncation."
+ b"exceeds the max limit of truncation."
)
response = HttpResponse(long_content)
msg = f"Couldn't find 'thrice' in the following response\n{long_content}"
diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py
index 4fd9267429..359cf07402 100644
--- a/tests/test_utils/tests.py
+++ b/tests/test_utils/tests.py
@@ -1046,7 +1046,7 @@ class InHTMLTests(SimpleTestCase):
def test_long_haystack(self):
haystack = (
"<p>This is a very very very very very very very very long message which "
- "exceedes the max limit of truncation.</p>"
+ "exceeds the max limit of truncation.</p>"
)
msg = f"Couldn't find '<b>Hello</b>' in the following response\n{haystack!r}"
with self.assertRaisesMessage(AssertionError, msg):