def test_remove_success(self):
responses.add(
responses.DELETE,
'http://localhost:9999/rest/Content/1',
content_type='application/json',
)
slims = Slims("testSlims", "http://localhost:9999", "admin", "admin")
record = Record({"pk": 1,
"tableName": "Content",
"columns": []},
slims.slims_api)
record.remove()
评论列表
文章目录