You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.assert_data_equal(wsgi_request.POST, sample_request['body'])
The comparison fails due to the fact that request['foo'] is '2' (as opposed to request.getlist('foo') which is ['1', '2'])
Some cleverness in assert_matches_request may need to happen to create an accurate dict based on what the sample request indicates is in the payload.
The text was updated successfully, but these errors were encountered:
Reproduce:
assert_matches_request
in your testWhy?
self.assert_data_equal(wsgi_request.POST, sample_request['body'])
The comparison fails due to the fact that
request['foo']
is'2'
(as opposed torequest.getlist('foo')
which is['1', '2']
)Some cleverness in
assert_matches_request
may need to happen to create an accurate dict based on what the sample request indicates is in the payload.The text was updated successfully, but these errors were encountered: