Merge pull request #821 from zbuc/protobuf_contentview_test_fix

Fix failing protobuf contentview test
This commit is contained in:
Maximilian Hils 2015-11-13 18:35:10 -08:00
commit 3cd709d982

View File

@ -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():