fix tests

This commit is contained in:
Maximilian Hils 2016-07-06 16:36:04 -07:00
parent 2c37ebfc72
commit 8287ce7e6d
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ FORMAT_EXAMPLES = {
b'0:}': {}, b'0:}': {},
b'0:]': [], b'0:]': [],
b'51:5:hello,39:11:12345678901#4:this,4:true!0:~4:\x00\x00\x00\x00,]}': b'51:5:hello,39:11:12345678901#4:this,4:true!0:~4:\x00\x00\x00\x00,]}':
{'hello': [12345678901, b'this', True, None, b'\x00\x00\x00\x00']}, {b'hello': [12345678901, b'this', True, None, b'\x00\x00\x00\x00']},
b'5:12345#': 12345, b'5:12345#': 12345,
b'12:this is cool,': b'this is cool', b'12:this is cool,': b'this is cool',
b'19:this is unicode \xe2\x98\x85;': u'this is unicode \u2605', b'19:this is unicode \xe2\x98\x85;': u'this is unicode \u2605',

View File

@ -130,7 +130,7 @@ def tserver_conn():
timestamp_ssl_setup=3, timestamp_ssl_setup=3,
timestamp_end=4, timestamp_end=4,
ssl_established=False, ssl_established=False,
sni="address", sni=b"address",
via=None via=None
)) ))
c.reply = controller.DummyReply() c.reply = controller.DummyReply()