@@ -134,10 +134,11 @@ def testBasicInteractive(self):
134134
135135 self .install_init ()
136136 self .admin = AdminTool ()
137+ self .admin .settings ['history_features' ] = 2
137138 # set history_features to disable loading/saving history
138139 # and loading rc file. Otherwise file gets large and
139140 # breaks testing or overwrites the users history file.
140- sys .argv = ['main' , '-i' , self .dirname , '-P' , 'history_features=7' ]
141+ sys .argv = ['main' , '-i' , self .dirname ]
141142
142143 with captured_output () as (out , err ):
143144 ret = self .admin .main ()
@@ -1067,6 +1068,7 @@ def testPragma_reopen_tracker(self):
10671068
10681069 self .install_init ()
10691070 self .admin = AdminTool ()
1071+ self .admin .settings ['history_features' ] = 2
10701072 sys .argv = ['main' , '-i' , self .dirname ]
10711073
10721074 with captured_output () as (out , err ):
@@ -1088,6 +1090,7 @@ def testPragma_reopen_tracker(self):
10881090
10891091 self .install_init ()
10901092 self .admin = AdminTool ()
1093+ self .admin .settings ['history_features' ] = 2
10911094 sys .argv = ['main' , '-i' , self .dirname ]
10921095
10931096 with captured_output () as (out , err ):
@@ -1119,6 +1122,7 @@ def testPragma(self):
11191122
11201123 self .install_init ()
11211124 self .admin = AdminTool ()
1125+ self .admin .settings ['history_features' ] = 2
11221126 sys .argv = ['main' , '-i' , self .dirname ]
11231127
11241128 with captured_output () as (out , err ):
@@ -1140,6 +1144,7 @@ def testPragma(self):
11401144
11411145 self .install_init ()
11421146 self .admin = AdminTool ()
1147+ self .admin .settings ['history_features' ] = 2
11431148 sys .argv = ['main' , '-i' , self .dirname ]
11441149
11451150 with captured_output () as (out , err ):
@@ -1159,6 +1164,7 @@ def testPragma(self):
11591164
11601165 self .install_init ()
11611166 self .admin = AdminTool ()
1167+ self .admin .settings ['history_features' ] = 2
11621168 sys .argv = ['main' , '-i' , self .dirname ]
11631169
11641170 with captured_output () as (out , err ):
@@ -1181,6 +1187,7 @@ def testPragma(self):
11811187
11821188 self .install_init ()
11831189 self .admin = AdminTool ()
1190+ self .admin .settings ['history_features' ] = 2
11841191 sys .argv = ['main' , '-i' , self .dirname ]
11851192
11861193 with captured_output () as (out , err ):
@@ -1200,6 +1207,7 @@ def testPragma(self):
12001207
12011208 self .install_init ()
12021209 self .admin = AdminTool ()
1210+ self .admin .settings ['history_features' ] = 2
12031211 sys .argv = ['main' , '-i' , self .dirname ]
12041212
12051213 with captured_output () as (out , err ):
@@ -1221,6 +1229,7 @@ def testPragma(self):
12211229
12221230 self .install_init ()
12231231 self .admin = AdminTool ()
1232+ self .admin .settings ['history_features' ] = 2
12241233 sys .argv = ['main' , '-i' , self .dirname ]
12251234
12261235 with captured_output () as (out , err ):
@@ -1241,6 +1250,7 @@ def testPragma(self):
12411250
12421251 self .install_init ()
12431252 self .admin = AdminTool ()
1253+ self .admin .settings ['history_features' ] = 2
12441254 sys .argv = ['main' , '-i' , self .dirname ]
12451255
12461256 with captured_output () as (out , err ):
@@ -1258,6 +1268,7 @@ def testPragma(self):
12581268
12591269 self .install_init ()
12601270 self .admin = AdminTool ()
1271+ self .admin .settings ['history_features' ] = 2
12611272 sys .argv = ['main' , '-i' , self .dirname ]
12621273
12631274 with captured_output () as (out , err ):
@@ -1278,6 +1289,7 @@ def testPragma(self):
12781289
12791290 self .install_init ()
12801291 self .admin = AdminTool ()
1292+ self .admin .settings ['history_features' ] = 2
12811293 sys .argv = ['main' , '-i' , self .dirname ]
12821294
12831295 with captured_output () as (out , err ):
0 commit comments