def test_ecl_kw_get_name(self): kw = EclKW("KW" , 1000 , EclTypeEnum.ECL_INT_TYPE) with self.assertRaises(DeprecationWarning): kw.get_name( )