Skip to content
Myr

adding test verifying data httpbin sees

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by barberj · committed by barberj · parent 64eb415 · Browse files · 1 file+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−0 removed

  • tests:+7 added−0 removed

1 file+7 added−0 removed

modified:tests/test_requests.py+7 added
351 unmodified lines
352353 post6 = post(url, files={'fname.txt': '\xe9'})354 self.assertEqual(post6.status_code, 200)355356 post7 = post(url, files={'fname.txt': 'fdata to verify'})357 rbody = json.loads(post7.text)358 self.assertTrue(rbody.get('files', None))359 self.assertTrue(rbody['files'].get('fname.txt'), None)360 self.assertEqual(rbody['files']['fname.txt'], 'fdata to verify')361362363 def test_nonzero_evaluation(self):364365 for service in SERVICES:366
541 unmodified lines