def test_rev_parse(self):
        # Using --abbrev-ref on HEAD will give us the current branch
        self.assertEqual(
            self.run_function(
                'git.rev_parse', [self.repo, 'HEAD'], opts='--abbrev-ref'
            ),
            'master'
        )

    # Test for git.revision happens in test_merge_base
A docstring.
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/git.py/GitModuleTest.test_rev_parse--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/core/tests/test_magic_arguments.py/foo