def test_update_invalid_ifmatch_specified(self):
response = self.insert_questionnaire()
with open(data_path('questionnaire2.json')) as f2:
questionnaire2 = json.load(f2)
self.send_put('Questionnaire/%s' % response['id'], questionnaire2,
expected_status=httplib.BAD_REQUEST,
headers={ 'If-Match': 'Blah' })
questionnaire_api_test.py 文件源码
python
阅读 16
收藏 0
点赞 0
评论 0
评论列表
文章目录