def test_refcase ( self ) :
    ec = EclConfig ( )
    dfile = self . createTestPath ( DATA_file )
    ui = ec . validateRefcase ( "str" )
    self . assertFalse ( ui )
    ui = ec . validateRefcase ( dfile )
    self . assertTrue ( ui )
    ec . loadRefcase dfile )
    refcase = ec . getRefcase ( )
    self . assertTrue ( isinstance ( refcase , EclSum ) )
    refcaseName = ec . getRefcaseName ( ) + "str"
    self . assertEqual ( dfile , refcaseName )

def test_refcase ( self ) :
    ec = EclConfig ( )
    dfile = self . createTestPath ( DATA_file )
    ui = ec . validateRefcase ( "str" )
    self . assertFalse ( ui )
    ui = ec . validateRefcase ( dfile )
    self . assertTrue ( ui )
    ec . loadRefcase ( dfile )
    refcase = ec . getRefcase ( )
    self . assertTrue ( isinstance ( refcase , EclSum ) )
    refcaseName = ec . getRefcaseName ( ) + "str"
    self . assertEqual ( dfile , refcaseName )

次に示すpythonコードの誤りを修正しなさい。