コード例 #1
0
ファイル: test_util.py プロジェクト: cartlogic/manhattan
 def test_decode_http_header(self):
     self.assertEqual(util.decode_http_header('hello \xf6 \xe1 world'),
                      u'hello \xf6 \xe1 world')
コード例 #2
0
ファイル: test_util.py プロジェクト: storborg/manhattan
 def test_decode_http_header(self):
     self.assertEqual(util.decode_http_header('hello \xf6 \xe1 world'),
                      u'hello \xf6 \xe1 world')
コード例 #3
0
ファイル: test_util.py プロジェクト: cartlogic/manhattan
 def test_decode_http_header_none(self):
     self.assertEqual(util.decode_http_header(None), u'')
コード例 #4
0
ファイル: test_util.py プロジェクト: storborg/manhattan
 def test_decode_http_header_none(self):
     self.assertEqual(util.decode_http_header(None), u'')