예제 #1
0
파일: test_path.py 프로젝트: 0mar/mercurial
 def test_exhausted_list(self):
     path = Path([self.l1])
     path.pop_next_segment()
     assert not bool(path)
예제 #2
0
파일: test_path.py 프로젝트: 0mar/mercurial
 def test_segment_getter(self):
     path = Path([self.l2])
     assert path.pop_next_segment() == self.l2