예제 #1
0
파일: test.py 프로젝트: winks/hand
def test_open_file3():
    file_name = './_fix/2/.plan'
    msg = finger.open_file(file_name)
    assert not msg
예제 #2
0
파일: test.py 프로젝트: winks/hand
def test_open_file2():
    file_name = './_fix/1/notafile'
    msg = finger.open_file(file_name)
    assert not msg
예제 #3
0
파일: test.py 프로젝트: winks/hand
def test_open_file1():
    file_name = './_fix/1/.plan'
    msg = finger.open_file(file_name)
    assert (msg == file(file_name).read())
예제 #4
0
파일: test.py 프로젝트: winks/hand
def test_open_file3():
    file_name = './_fix/2/.plan'
    msg = finger.open_file(file_name)
    assert not msg
예제 #5
0
파일: test.py 프로젝트: winks/hand
def test_open_file2():
    file_name = './_fix/1/notafile'
    msg = finger.open_file(file_name)
    assert not msg
예제 #6
0
파일: test.py 프로젝트: winks/hand
def test_open_file1():
    file_name = './_fix/1/.plan'
    msg = finger.open_file(file_name)
    assert (msg == file(file_name).read())