@@ -222,21 +222,21 @@ def test_help_6(self):
222222                'You need configure PostgreSQL with --enabled-nls option for this test' )
223223
224224    # @unittest.skip("skip") 
225-     def  test_options_default_units (self ):
226-         """check --default -units option""" 
225+     def  test_options_no_scale_units (self ):
226+         """check --no-scale -units option""" 
227227        backup_dir  =   os .path .join (self .tmp_path , self .module_name , self .fname , 'backup' )
228228        node  =  self .make_simple_node (
229229            base_dir = os .path .join (self .module_name , self .fname , 'node' ))
230230        self .init_pb (backup_dir )
231231        self .add_instance (backup_dir , 'node' , node )
232-         # check that --default -units option works correctly 
232+         # check that --no-scale -units option works correctly 
233233        output  =  self .run_pb (["show-config" , "--backup-path" , backup_dir , "--instance=node" ])
234234        self .assertIn (container = output , member = "archive-timeout = 5min" )
235-         output  =  self .run_pb (["show-config" , "--backup-path" , backup_dir , "--instance=node" , "--default -units" ])
235+         output  =  self .run_pb (["show-config" , "--backup-path" , backup_dir , "--instance=node" , "--no-scale -units" ])
236236        self .assertIn (container = output , member = "archive-timeout = 300" )
237237        self .assertNotIn (container = output , member = "archive-timeout = 300s" )
238238        # check that we have now quotes ("") in json output 
239-         output  =  self .run_pb (["show-config" , "--backup-path" , backup_dir , "--instance=node" , "--default -units" , "--format=json" ])
239+         output  =  self .run_pb (["show-config" , "--backup-path" , backup_dir , "--instance=node" , "--no-scale -units" , "--format=json" ])
240240        self .assertIn (container = output , member = '"archive-timeout": 300,' )
241241        self .assertIn (container = output , member = '"retention-redundancy": 0,' )
242242        self .assertNotIn (container = output , member = '"archive-timeout": "300",' )
0 commit comments