def METHOD_NAME(self):
    """Test that bulk update in a cancelled transaction is not committed."""
    prefix = uuid.uuid4().hex
    users = [orm.User(f'{prefix}-{i}').store() for i in range(3)]
    try:
        with self.backend.transaction():
            self.backend.bulk_update(
                EntityTypes.USER, [{
                    'id': users[0].pk,
                    'email': 'random0'
                }, {
                    'id': users[1].pk,
                    'email': 'random1'
                }]
            )
            raise RuntimeError
    except RuntimeError:
        pass
    for i, user in enumerate(users):
        assert user.email == f'{prefix}-{i}'