diff options
| author | Gabriel Falcão <gabriel@nacaolivre.org> | 2013-06-11 08:17:08 -0700 |
|---|---|---|
| committer | Gabriel Falcão <gabriel@nacaolivre.org> | 2013-06-11 08:17:08 -0700 |
| commit | de00536a4e2495792d7fd4cc6f69136a06c962af (patch) | |
| tree | 8eab7a119665f35ee8c168d7d9dd1004119a5326 /tests/unit | |
| parent | 31643c19106ee4f28b76f8989ddcba65e84ac445 (diff) | |
| parent | aef80904fe976c56c68c31db35f39b8c1803f687 (diff) | |
| download | httpretty-de00536a4e2495792d7fd4cc6f69136a06c962af.tar.gz | |
Merge pull request #61 from maxmind/master
Remove 2.x style unicode literals
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/test_httpretty.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/unit/test_httpretty.py b/tests/unit/test_httpretty.py index a25202c..514be58 100644 --- a/tests/unit/test_httpretty.py +++ b/tests/unit/test_httpretty.py @@ -33,10 +33,10 @@ from httpretty.http import STATUSES def test_httpretty_should_raise_proper_exception_on_inconsistent_length(): - u"HTTPretty should raise proper exception on inconsistent Content-Length / "\ - "registered response body" + "HTTPretty should raise proper exception on inconsistent Content-Length / "\ + "registered response body" expect(HTTPretty.register_uri).when.called_with( - HTTPretty.GET, + HTTPretty.GET, "http://github.com/gabrielfalcao", body="that's me!", adding_headers={ @@ -50,7 +50,7 @@ def test_httpretty_should_raise_proper_exception_on_inconsistent_length(): def test_does_not_have_last_request_by_default(): - u'HTTPretty.last_request is a dummy object by default' + 'HTTPretty.last_request is a dummy object by default' HTTPretty.reset() expect(HTTPretty.last_request.headers).to.be.empty @@ -182,9 +182,9 @@ def test_Entry_class_normalizes_headers(): host='example.com', cache_control='no-cache', x_forward_for='proxy') expect(entry.adding_headers).to.equal({ - u'Host': u'example.com', - u'Cache-Control': u'no-cache', - u'X-Forward-For': u'proxy' + 'Host':'example.com', + 'Cache-Control':'no-cache', + 'X-Forward-For':'proxy' }) |
