def _simple_change(self, change_text, commit_message,
                       file_=None):
        if file_ is None:
            file_ = self._dir('test', 'test_file.txt')
        utils.write_to_file(file_, change_text.encode())
        self._run_git('add', file_)
        self._run_git('commit', '-m', commit_message)
Helper method to create small changes and commit them.
dataset/ETHPy150Open openstack-infra/git-review/git_review/tests/__init__.py/BaseGitReviewTestCase._simple_change