Beispiel #1
0
def test_hidden_on_special_paths():
    special_paths = [".", ".."]
    assert (not any([hidden(p) for p in special_paths]))
Beispiel #2
0
def test_hidden_on_normal_paths():
    normal_paths = ["what", "ever.html"]
    assert (not any([hidden(p) for p in normal_paths]))
Beispiel #3
0
def test_hidden_on_hidden_paths():
    hidden_paths = [".what", ".ever.html", "..hmpf"]
    assert (all([hidden(p) for p in hidden_paths]))
Beispiel #4
0
def test_hidden_on_hidden_paths():
    hidden_paths = [".what", ".ever.html", "..hmpf"]
    assert(all([hidden(p) for p in hidden_paths]))
Beispiel #5
0
def test_hidden_on_special_paths():
    special_paths = [".", ".."]
    assert(not any([hidden(p) for p in special_paths]))
Beispiel #6
0
def test_hidden_on_normal_paths():
    normal_paths = ["what", "ever.html"]
    assert(not any([hidden(p) for p in normal_paths]))