def test_test_info_all_optional_fields(self) -> None: info = TEST_RUN_INFO_FIXTURE._replace( failure_info=TEST_RUN_FAILURE_INFO_FIXTURE, activityLogs=[TEST_ACTIVITY_FIXTURE], ) self.assertEqual(info, test_info_from_json(json_format_test_info(info)))
def test_test_info_no_optional_fields(self) -> None: self.assertEqual( TEST_RUN_INFO_FIXTURE, test_info_from_json(json_format_test_info(TEST_RUN_INFO_FIXTURE)), )