mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34658 -- Added SimpleTestCase.assertNotInHTML().
This commit is contained in:
committed by
Mariusz Felisiak
parent
5c6906cef4
commit
2bf46c3825
@@ -238,6 +238,9 @@ Tests
|
||||
self.client.post("/items/1", query_params={"action": "delete"})
|
||||
await self.async_client.post("/items/1", query_params={"action": "delete"})
|
||||
|
||||
* The new :meth:`.SimpleTestCase.assertNotInHTML` assertion allows testing that
|
||||
an HTML fragment is not contained in the given HTML haystack.
|
||||
|
||||
URLs
|
||||
~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user