@@ -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"""
227227backup_dir = os .path .join (self .tmp_path ,self .module_name ,self .fname ,'backup' )
228228node = self .make_simple_node (
229229base_dir = os .path .join (self .module_name ,self .fname ,'node' ))
230230self .init_pb (backup_dir )
231231self .add_instance (backup_dir ,'node' ,node )
232- # check that --default -units option works correctly
232+ # check that --no-scale -units option works correctly
233233output = self .run_pb (["show-config" ,"--backup-path" ,backup_dir ,"--instance=node" ])
234234self .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" ])
236236self .assertIn (container = output ,member = "archive-timeout = 300" )
237237self .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" ])
240240self .assertIn (container = output ,member = '"archive-timeout": 300,' )
241241self .assertIn (container = output ,member = '"retention-redundancy": 0,' )
242242self .assertNotIn (container = output ,member = '"archive-timeout": "300",' )