@@ -134,10 +134,11 @@ def testBasicInteractive(self):
134
134
135
135
self .install_init ()
136
136
self .admin = AdminTool ()
137
+ self .admin .settings ['history_features' ] = 2
137
138
# set history_features to disable loading/saving history
138
139
# and loading rc file. Otherwise file gets large and
139
140
# 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 ]
141
142
142
143
with captured_output () as (out , err ):
143
144
ret = self .admin .main ()
@@ -1067,6 +1068,7 @@ def testPragma_reopen_tracker(self):
1067
1068
1068
1069
self .install_init ()
1069
1070
self .admin = AdminTool ()
1071
+ self .admin .settings ['history_features' ] = 2
1070
1072
sys .argv = ['main' , '-i' , self .dirname ]
1071
1073
1072
1074
with captured_output () as (out , err ):
@@ -1088,6 +1090,7 @@ def testPragma_reopen_tracker(self):
1088
1090
1089
1091
self .install_init ()
1090
1092
self .admin = AdminTool ()
1093
+ self .admin .settings ['history_features' ] = 2
1091
1094
sys .argv = ['main' , '-i' , self .dirname ]
1092
1095
1093
1096
with captured_output () as (out , err ):
@@ -1119,6 +1122,7 @@ def testPragma(self):
1119
1122
1120
1123
self .install_init ()
1121
1124
self .admin = AdminTool ()
1125
+ self .admin .settings ['history_features' ] = 2
1122
1126
sys .argv = ['main' , '-i' , self .dirname ]
1123
1127
1124
1128
with captured_output () as (out , err ):
@@ -1140,6 +1144,7 @@ def testPragma(self):
1140
1144
1141
1145
self .install_init ()
1142
1146
self .admin = AdminTool ()
1147
+ self .admin .settings ['history_features' ] = 2
1143
1148
sys .argv = ['main' , '-i' , self .dirname ]
1144
1149
1145
1150
with captured_output () as (out , err ):
@@ -1159,6 +1164,7 @@ def testPragma(self):
1159
1164
1160
1165
self .install_init ()
1161
1166
self .admin = AdminTool ()
1167
+ self .admin .settings ['history_features' ] = 2
1162
1168
sys .argv = ['main' , '-i' , self .dirname ]
1163
1169
1164
1170
with captured_output () as (out , err ):
@@ -1181,6 +1187,7 @@ def testPragma(self):
1181
1187
1182
1188
self .install_init ()
1183
1189
self .admin = AdminTool ()
1190
+ self .admin .settings ['history_features' ] = 2
1184
1191
sys .argv = ['main' , '-i' , self .dirname ]
1185
1192
1186
1193
with captured_output () as (out , err ):
@@ -1200,6 +1207,7 @@ def testPragma(self):
1200
1207
1201
1208
self .install_init ()
1202
1209
self .admin = AdminTool ()
1210
+ self .admin .settings ['history_features' ] = 2
1203
1211
sys .argv = ['main' , '-i' , self .dirname ]
1204
1212
1205
1213
with captured_output () as (out , err ):
@@ -1221,6 +1229,7 @@ def testPragma(self):
1221
1229
1222
1230
self .install_init ()
1223
1231
self .admin = AdminTool ()
1232
+ self .admin .settings ['history_features' ] = 2
1224
1233
sys .argv = ['main' , '-i' , self .dirname ]
1225
1234
1226
1235
with captured_output () as (out , err ):
@@ -1241,6 +1250,7 @@ def testPragma(self):
1241
1250
1242
1251
self .install_init ()
1243
1252
self .admin = AdminTool ()
1253
+ self .admin .settings ['history_features' ] = 2
1244
1254
sys .argv = ['main' , '-i' , self .dirname ]
1245
1255
1246
1256
with captured_output () as (out , err ):
@@ -1258,6 +1268,7 @@ def testPragma(self):
1258
1268
1259
1269
self .install_init ()
1260
1270
self .admin = AdminTool ()
1271
+ self .admin .settings ['history_features' ] = 2
1261
1272
sys .argv = ['main' , '-i' , self .dirname ]
1262
1273
1263
1274
with captured_output () as (out , err ):
@@ -1278,6 +1289,7 @@ def testPragma(self):
1278
1289
1279
1290
self .install_init ()
1280
1291
self .admin = AdminTool ()
1292
+ self .admin .settings ['history_features' ] = 2
1281
1293
sys .argv = ['main' , '-i' , self .dirname ]
1282
1294
1283
1295
with captured_output () as (out , err ):
0 commit comments