

def create_empty_revision_as_user(self, username):
    "Return the id of a newly created empty revision as 'username'.\n\n        :username: username for the author of the revision\n        :returns: id of created revision\n\n        "
    self.assert_is_user(username)
    revisionid = self._nextid
    self._nextid += 1
    self._revisions.append(_Revision(revisionid, username))
    revisionid.set_changed()
    return revisionid

dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_conduitmock.py ConduitMockData.create_empty_revision_as_user/VarMisuse@47/129 `self`->`revisionid`