Beispiel #1
0
def test_wrong_file():
    assert not check_file('tests/wrong_file.txt')
Beispiel #2
0
def test_no_dot():
    assert not check_file('tests/test2.txt')
Beispiel #3
0
def test_ok():
    assert check_file('tests/test1.txt')
Beispiel #4
0
def test_long_names():
    assert check_file('tests/test10.txt')
Beispiel #5
0
def test_no_balance():
    assert not check_file('tests/test8.txt')
Beispiel #6
0
def test_unknown_symbol():
    assert not check_file('tests/test9.txt')
Beispiel #7
0
def test_empty_file():
    assert check_file('tests/test7.txt')
Beispiel #8
0
def test_not_enough_args():
    assert not check_file('tests/test6.txt')
Beispiel #9
0
def test_no_body():
    assert not check_file('tests/test5.txt')
Beispiel #10
0
def test_no_head():
    assert not check_file('tests/test4.txt')
Beispiel #11
0
def test_no_dot_2():
    assert not check_file('tests/test3.txt')