def test_PAM_read_file__ok(): content = PAM.read_file(__file__) assert content != '' assert 'test_PAM_read_file__ok' in content
def test_PAM_read_file__non_existent(): content = PAM.read_file('/this/does/not/exist') assert content == ''