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