예제 #1
0
def test_hidden_on_special_paths():
    special_paths = [".", ".."]
    assert (not any([hidden(p) for p in special_paths]))
예제 #2
0
def test_hidden_on_normal_paths():
    normal_paths = ["what", "ever.html"]
    assert (not any([hidden(p) for p in normal_paths]))
예제 #3
0
def test_hidden_on_hidden_paths():
    hidden_paths = [".what", ".ever.html", "..hmpf"]
    assert (all([hidden(p) for p in hidden_paths]))
예제 #4
0
파일: test_utils.py 프로젝트: aconbere/igor
def test_hidden_on_hidden_paths():
    hidden_paths = [".what", ".ever.html", "..hmpf"]
    assert(all([hidden(p) for p in hidden_paths]))
예제 #5
0
파일: test_utils.py 프로젝트: aconbere/igor
def test_hidden_on_special_paths():
    special_paths = [".", ".."]
    assert(not any([hidden(p) for p in special_paths]))
예제 #6
0
파일: test_utils.py 프로젝트: aconbere/igor
def test_hidden_on_normal_paths():
    normal_paths = ["what", "ever.html"]
    assert(not any([hidden(p) for p in normal_paths]))