#NEWLINE# def test_wrap_vtk( self ) : #NEWLINE# #INDENT# 'Test if the wrap_vtk function works.' #NEWLINE# o = vtk . vtkVolume ( ) #NEWLINE# w = tvtk_helper . wrap_vtk ( o ) #NEWLINE# self . assertEqual ( w . __class__ . __name__ , 'Volume' ) #NEWLINE# w1 = tvtk_helper . wrap_vtk ( w ) #NEWLINE# self . assertEqual ( w , w1 ) #NEWLINE# del w1 , w , o #NEWLINE# class A ( ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# a = A ( ) #NEWLINE# w = tvtk_helper . wrap_vtk ( a ) #NEWLINE# self . assertEqual ( a , w )