We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a059b5 commit db1c556Copy full SHA for db1c556
tests/test_assertions.py
@@ -166,6 +166,12 @@ def test_assertion_error_if_post_data_mismatch(self):
166
self.sample_request, self.mock_wsgi_request
167
)
168
169
+ def test_matches_non_strict(self):
170
+ self.mock_wsgi_request.POST = {'name': 'Something else'}
171
+ self.assert_matches_request(
172
+ self.sample_request, self.mock_wsgi_request, non_strict=['name']
173
+ )
174
+
175
176
def _abe_wrap_response(response):
177
abe_mock = AbeMock({
0 commit comments