def test_libload(): assert lib.hdfsGetLastError() assert len(lib.hdfsGetLastError.__doc__) > 0 assert lib.hdfsFileIsOpenForRead(lib.hdfsFile()) == False