From bbf40f969469f4a70ffa8c1ce800ddaf49bdb8a7 Mon Sep 17 00:00:00 2001 From: Bouke Versteegh Date: Wed, 24 Jun 2020 21:17:59 +0200 Subject: [PATCH] Mark test xfail --- .../test_to_dict_with_missing_enum.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/betterproto/tests/inputs/to_dict_with_missing_enum/test_to_dict_with_missing_enum.py b/betterproto/tests/inputs/to_dict_with_missing_enum/test_to_dict_with_missing_enum.py index 57bf810..4273848 100644 --- a/betterproto/tests/inputs/to_dict_with_missing_enum/test_to_dict_with_missing_enum.py +++ b/betterproto/tests/inputs/to_dict_with_missing_enum/test_to_dict_with_missing_enum.py @@ -2,15 +2,17 @@ from betterproto.tests.output_betterproto.to_dict_with_missing_enum.to_dict_with Test, TestMyEnum, ) +import pytest +@pytest.mark.xfail(reason="#93") def test_message_attributes(): assert ( - Test(x=TestMyEnum.ONE).to_dict()['x'] == "ONE" + Test(x=TestMyEnum.ONE).to_dict()["x"] == "ONE" ), "MyEnum.ONE is not serialized to 'ONE'" assert ( - Test(x=TestMyEnum.THREE).to_dict()['x'] == "THREE" + Test(x=TestMyEnum.THREE).to_dict()["x"] == "THREE" ), "MyEnum.THREE is not serialized to 'THREE'" assert ( - Test(x=TestMyEnum.FOUR).to_dict()['x'] == "FOUR" + Test(x=TestMyEnum.FOUR).to_dict()["x"] == "FOUR" ), "MyEnum.FOUR is not serialized to 'FOUR'"