1
1
"""
2
- Copyright (c) 2018, 2019 , Oracle Corporation and/or its affiliates. All rights reserved.
2
+ Copyright (c) 2018, 2020 , Oracle Corporation and/or its affiliates. All rights reserved.
3
3
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4
4
"""
5
5
import unittest
@@ -215,8 +215,8 @@ def testWithMBeanName(self):
215
215
def testWithListMBeanName (self ):
216
216
expected = dict ()
217
217
short_name = self ._helper .get_folder_short_name (LocationContext ().append_location ('Server' ))
218
- expected [short_name + '.m1.SSL.Enabled' ] = 'True '
219
- expected [short_name + '.m2.SSL.Enabled' ] = 'True '
218
+ expected [short_name + '.m1.SSL.Enabled' ] = 'true '
219
+ expected [short_name + '.m2.SSL.Enabled' ] = 'true '
220
220
replacement_dict = dict ()
221
221
replacement_dict ['Server[m1,m2].SSL.Enabled' ] = dict ()
222
222
actual = self ._helper .inject_variables (replacement_dict )
@@ -225,18 +225,18 @@ def testWithListMBeanName(self):
225
225
def testWithManagedServerKeyword (self ):
226
226
short_name = self ._helper .get_folder_short_name (LocationContext ().append_location ('Server' ))
227
227
expected = dict ()
228
- expected [short_name + '.m1.SSL.Enabled' ] = 'True '
229
- expected [short_name + '.m2.SSL.Enabled' ] = 'True '
228
+ expected [short_name + '.m1.SSL.Enabled' ] = 'true '
229
+ expected [short_name + '.m2.SSL.Enabled' ] = 'true '
230
230
replacement_dict = dict ()
231
231
replacement_dict ['Server[MANAGED_SERVERS].SSL.Enabled' ] = dict ()
232
232
actual = self ._helper .inject_variables (replacement_dict )
233
233
self ._compare_to_expected_dictionary (expected , actual )
234
234
235
235
def testWithMultiKeyword (self ):
236
236
expected = dict ()
237
- expected ['Server.AdminServer.SSL.Enabled' ] = 'True '
238
- expected ['Server.m1.SSL.Enabled' ] = 'True '
239
- expected ['Server.m2.SSL.Enabled' ] = 'True '
237
+ expected ['Server.AdminServer.SSL.Enabled' ] = 'true '
238
+ expected ['Server.m1.SSL.Enabled' ] = 'true '
239
+ expected ['Server.m2.SSL.Enabled' ] = 'true '
240
240
replacement_dict = dict ()
241
241
replacement_dict ['Server[MANAGED_SERVERS,ADMIN_SERVER].SSL.Enabled' ] = dict ()
242
242
actual = self ._helper .inject_variables (replacement_dict )
0 commit comments