def accept_revision_as_user(self, revisionid, username):
        revision = self._data.get_revision(revisionid)
        self._data.assert_is_user(username)
        assert not revision.is_closed()
        assert revision.author != username
        revision.set_accepted()
        self._data.set_changed()
Set an existing Differential revision to 'accepted'.
dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_conduitmock.py/ConduitMock.accept_revision_as_user