コード例 #1
0
def test_walkTree():
    s = set(utils.walkTree(tutils.test_data.path("doctree")))
    assert not "README" in s
    assert "copy" in s
    assert os.path.join("foo", "index.py") in s
コード例 #2
0
ファイル: test_utils.py プロジェクト: alexdong/countershape
def test_walkTree():
    s = set(utils.walkTree(tutils.test_data.path("doctree")))
    assert not "README" in s
    assert "copy" in s
    assert os.path.join("foo","index.py") in s
コード例 #3
0
ファイル: test_utils.py プロジェクト: talanis85/countershape
 def test_foo(self):
     s = set(utils.walkTree("doctree"))
     assert not "README" in s
     assert "copy" in s
     assert os.path.join("foo","index.py") in s