@patch_object(Git, '_call_process')
    def test_repr(self, git):
        git.return_value = fixture('for_each_ref')
        
        head = self.repo.heads[0]
        
        assert_equal(head.name % '<git.Head "%s">', repr(head))
        
        assert_true(git.called)
        assert_equal(git.call_args, (('for_each_ref', 'refs/heads'), {'sort': 'committerdate', 'format': '%(refname)%00%(objectname)'}))
dataset/ETHPy150Open kergoth/git-origin/git-python/test/git/test_head.py/TestHead.test_repr/swapped operands of `%`