

def test_delete(self):
    repo = Jagare(self.path)
    path = self.get_temp_path()
    clone_repo = repo.clone(path, bare=True)
    clone_repo.delete_branch('chinese')
    branches = clone_repo.branches
    assert ('chinese' in repo.branches)
    assert ('chinese' not in branches)
    assert ('master' in branches)

dataset/ETHPy150Open douban/ellen/tests/test_branch.py TestBranch.test_delete/original