def test_AssertToChaiExpectProcess_05(self):
     src = """
         def test_func1( self ):
             assert aval > 100
     """
     nodes = parseSource(src)
     cvtr = AssertToChaiExpectConverter()
     matches = cvtr.gather(nodes)
     cvtr.processOne(matches[0])
     # dumpNodes( nodes )
     assert nodesToLines(nodes) == [
         "def test_func1( self ):",
         "    expect( aval > 100 ).to.be.ok",
     ]
 def test_AssertToChaiExpectProcess_02(self):
     src = """
         def test_func1( self ):
             assert aval != 'bim'
     """
     nodes = parseSource(src)
     cvtr = AssertToChaiExpectConverter()
     matches = cvtr.gather(nodes)
     cvtr.processOne(matches[0])
     # dumpNodes( nodes )
     assert nodesToLines(nodes) == [
         "def test_func1( self ):",
         "    expect( aval ).not.to.eql( 'bim' )",
     ]
 def test_AssertToChaiExpectProcess_06(self):
     src = """
     class Tests( unittest.TestCase ):
         def test_getAttr( self ):
             try:
                 getattr( obj, 'bom' )
             except:
                 excepted = True
             assert excepted
     """
     nodes = parseSource(src)
     cvtr = AssertToChaiExpectConverter()
     matches = cvtr.gather(nodes)
     cvtr.processOne(matches[0])
     # dumpNodes( nodes )
     assert nodesToLines(nodes) == [
         "class Tests( unittest.TestCase ):",
         "    def test_getAttr( self ):",
         "        try:",
         "            getattr( obj, 'bom' )",
         "        except:",
         "            excepted = True",
         "        expect( excepted ).to.be.ok",
     ]