def it_should_post_the_correct_body(self):
expect(httpretty.last_request()).to(have_json([
{
"eventId": "foo",
"eventType": "settings",
"data":
{
"$userStreamAcl": {
"$r": ["$all"],
"$w": [],
"$d": ["ouro"],
"$mr": ["ouro"],
"$mw": ["ouro"]
},
"$systemStreamAcl": {
"$r": ["$admins", "ouro"],
"$w": ["$admins"],
"$d": ["$admins"],
"$mr":["$admins"],
"$mw": ["$admins"]
}
}
}]))
test_default_stream_update.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录