From 1169a3eb23b6876e4fb653e0450080038e2d4b83 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Sat, 26 Apr 2014 20:14:46 +0200 Subject: [PATCH] Fixed tests. --- tests/test_unicode.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_unicode.py b/tests/test_unicode.py index d5a267ab..3e0803a3 100644 --- a/tests/test_unicode.py +++ b/tests/test_unicode.py @@ -10,7 +10,7 @@ from tests.fixtures import UNICODE class TestUnicode: def test_unicode_headers(self): - r = http('--verbose', httpbin('/headers'), u'Test:%s' % UNICODE) + r = http(httpbin('/headers'), u'Test:%s' % UNICODE) assert HTTP_OK in r assert r.json['headers']['Test'] == UNICODE @@ -42,9 +42,9 @@ class TestUnicode: assert UNICODE in r def test_unicode_raw_json_item(self): - r = http('--verbose', - '--json', 'POST', httpbin('/post'), + r = http('--json', 'POST', httpbin('/post'), u'test:={ "%s" : [ "%s" ] }' % (UNICODE, UNICODE)) + assert r.json['json'] == {'test': {UNICODE: [UNICODE]}} def test_unicode_raw_json_item_verbose(self): r = http('--verbose',