def test_update_bad_ifmatch_specified(self):
response = self.send_post('Participant', self.participant)
# Change the provider link for the participant
participant_id = response['participantId']
response['providerLink'] = [ self.provider_link_2 ]
path = 'Participant/%s' % participant_id
self.send_put(path, response, headers={ 'If-Match': 'Blah' },
expected_status=httplib.BAD_REQUEST)
participant_api_test.py 文件源码
python
阅读 15
收藏 0
点赞 0
评论 0
评论列表
文章目录