def test_item(girder_client, private_folder):
try:
item = girder_client.createItem(private_folder['_id'], 'test')
yield item
finally:
if file is not None:
girder_client.delete('item/%s' % item['_id'])
# pytest hooks for ordering test items after they have been collected
# and ensuring tests marked with sanitycheck run first.
# pytest_runtest_makereport and pytest_runtest_setup are used to xfail
# all tests if any of the sanitychecks fail.
评论列表
文章目录