Esempio n. 1
0
File: test.py Progetto: winks/hand
def test_open_file3():
    file_name = './_fix/2/.plan'
    msg = finger.open_file(file_name)
    assert not msg
Esempio n. 2
0
File: test.py Progetto: winks/hand
def test_open_file2():
    file_name = './_fix/1/notafile'
    msg = finger.open_file(file_name)
    assert not msg
Esempio n. 3
0
File: test.py Progetto: winks/hand
def test_open_file1():
    file_name = './_fix/1/.plan'
    msg = finger.open_file(file_name)
    assert (msg == file(file_name).read())
Esempio n. 4
0
File: test.py Progetto: winks/hand
def test_open_file3():
    file_name = './_fix/2/.plan'
    msg = finger.open_file(file_name)
    assert not msg
Esempio n. 5
0
File: test.py Progetto: winks/hand
def test_open_file2():
    file_name = './_fix/1/notafile'
    msg = finger.open_file(file_name)
    assert not msg
Esempio n. 6
0
File: test.py Progetto: winks/hand
def test_open_file1():
    file_name = './_fix/1/.plan'
    msg = finger.open_file(file_name)
    assert (msg == file(file_name).read())