def mock_s3_api(mocker):
    """Create mocked versions of the s3 API."""
    mocked_store = mocker.patch("s3os.s3_dict.store")
    mocked_retrieve = mocker.patch("s3os.s3_dict.retrieve")
    mocked_delete = mocker.patch("s3os.s3_dict.delete")
    return mocked_store, mocked_retrieve, mocked_delete