File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -455,6 +455,24 @@ def testGetWlstAttributeName(self):
455
455
self .assertEqual (wlst_attribute_name , 'RowPrefetch' )
456
456
return
457
457
458
+ def testGetWlstAttributeName2 (self ):
459
+ location = LocationContext ().append_location (FOLDERS .JMS_SYSTEM_RESOURCE )
460
+ token = self .aliases .get_name_token (location )
461
+ location .add_name_token (token , 'TheModule' )
462
+ location .append_location (FOLDERS .JMS_RESOURCE )
463
+ location .append_location (FOLDERS .DISTRIBUTED_TOPIC )
464
+ token = self .aliases .get_name_token (location )
465
+ location .add_name_token (token , 'TheTopic' )
466
+
467
+ model_attribute_name = 'SafExportPolicy'
468
+ result = self .aliases .get_wlst_attribute_name (location , model_attribute_name )
469
+ self .assertEqual (result , 'SafExportPolicy' )
470
+
471
+ result = self .online_aliases .get_wlst_attribute_name (location , model_attribute_name )
472
+ self .assertEqual (result , 'SAFExportPolicy' )
473
+
474
+ return
475
+
458
476
def testIsWlstModelAttributeName (self ):
459
477
wls_version = '10.3.4'
460
478
online_aliases = Aliases (self .model_context , WlstModes .ONLINE , wls_version )
You can’t perform that action at this time.
0 commit comments