def testBranching(self):
        branch_name = 'some_branch'
        branch = self.repo.createBranch(branch_name)
        self.assertTrue(self.repo.getBranches() in branch)
        self.assertEquals(branch.name, branch_name)
        self.assertEquals(branch.getHead(), self.repo.getHead())
        return branch
dataset/ETHPy150Open Infinidat/gitpy/tests/test_branching.py/TestBranching.testBranching/swapped operands of `in`