def testMerging1(self):
        branch = self.testBranchingAndCommitting()
        prev_head = self.repo.getHead()
        self.repo.merge(branch)
        self.assertNotEquals(self.repo.getHead(), branch.getHead())
        self.assertTrue(branch.getHead() in self.repo.getHead().getParents())
dataset/ETHPy150Open Infinidat/gitpy/tests/test_branching.py/TestBranching.testMerging1/original