diff options
| author | Yaroslav Halchenko <debian@onerussian.com> | 2015-12-15 00:01:04 -0500 |
|---|---|---|
| committer | Yaroslav Halchenko <debian@onerussian.com> | 2015-12-15 21:12:51 -0500 |
| commit | 6bb7bf334adadf26a4642262bd974b85173a063e (patch) | |
| tree | 58127f74d4f7ab458a6a2a1317f5b15a03e574f3 /tests/unit | |
| parent | 8e323b580776cd23b7aa6cec2acc6e8d27ebd88a (diff) | |
| download | httpretty-6bb7bf334adadf26a4642262bd974b85173a063e.tar.gz | |
BF: PY3 etc -- no need to byte_type an in which later %s-ed, assume sending bytes registers bytes
also adjusted bogus shebang to not be real
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/test_core.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/test_core.py b/tests/unit/test_core.py index 3dc988d..9063886 100644 --- a/tests/unit/test_core.py +++ b/tests/unit/test_core.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +# #!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import json @@ -566,8 +566,8 @@ def test_fakesock_socket_sendall_with_body_data_with_entry(POTENTIAL_HTTP_PORTS, # When I try to send data socket.sendall(b"BLABLABLABLA") - # Then it shoud have called real_sendall - data_sent.should.equal(['BLABLABLABLA']) + # Then it should have called real_sendall + data_sent.should.equal([b'BLABLABLABLA']) @patch('httpretty.core.httpretty.match_uriinfo') |
