mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Merge pull request #821 from zbuc/protobuf_contentview_test_fix
Fix failing protobuf contentview test
This commit is contained in:
commit
3cd709d982
@ -233,7 +233,7 @@ if cv.ViewProtobuf.is_available():
|
|||||||
p = tutils.test_data.path("data/protobuf01")
|
p = tutils.test_data.path("data/protobuf01")
|
||||||
content_type, output = v(file(p, "rb").read())
|
content_type, output = v(file(p, "rb").read())
|
||||||
assert content_type == "Protobuf"
|
assert content_type == "Protobuf"
|
||||||
assert output[0].text == '1: "3bbc333c-e61c-433b-819a-0b9a8cc103b8"'
|
assert output.next()[0][1] == '1: "3bbc333c-e61c-433b-819a-0b9a8cc103b8"'
|
||||||
|
|
||||||
|
|
||||||
def test_get_by_shortcut():
|
def test_get_by_shortcut():
|
||||||
|
Loading…
Reference in New Issue
Block a user