parameters: (self)
docstring: Test readFile with a file that does not exist
docstring_summary: Test readFile with a file that does not exist
docstring_tokens: Test readFile with a file that does not exist
function: def test1(self):
          """Test readFile with a file that does not exist"""
          self.failUnlessXmlError(libxml2.readFile,
                          ("dummy.xml",None,0),
                          libxml2.treeError,
                          domain=libxml2.XML_FROM_IO,
                          code=libxml2.XML_IO_LOAD_ERROR,
                          message='failed to load external entity "dummy.xml"\n',
                          level=libxml2.XML_ERR_WARNING,
                          file=None,
                          line=0)
function_tokens: def test1 ( self ) : self . failUnlessXmlError ( libxml2 . readFile , ( "dummy.xml" , None , 0 ) , libxml2 . treeError , domain = libxml2 . XML_FROM_IO , code = libxml2 . XML_IO_LOAD_ERROR , message = 'failed to load external entity "dummy.xml"\n' , level = libxml2 . XML_ERR_WARNING , file = None , line = 0 )