@@ -235,9 +235,9 @@ def wrapper(*args):
235235 if i == 7 :
236236 self .test_db .cur .execute ('''INSERT INTO inventory VALUES( '', 1, 1, '', 1, '') ''' )
237237 self .test_db .cur .execute ('''INSERT INTO pubkeys VALUES( '', 1, '', 1, '') ''' )
238- self .test_db .cur .execute ('''INSERT INTO sent
238+ self .test_db .cur .execute ('''INSERT INTO sent
239239 VALUES( '', '', '', '', '', '', '', 1, 'doingmsgpow', 1, 1, '', 1) ''' )
240- self .test_db .cur .execute ('''INSERT INTO sent
240+ self .test_db .cur .execute ('''INSERT INTO sent
241241 VALUES( '', '', '', '', '', '', '', 1, 'badkey', 1, 1, '', 1) ''' )
242242 self .test_db .conn .commit ()
243243 elif i == 9 :
@@ -282,8 +282,8 @@ def test_bm_db_version_2(self):
282282 answer = (check_column in inventory_schema )
283283
284284 # check deleting first20bytesofencryptedmessage column to inventory table
285- self .assertNotEqual (answer , True , "Column first20bytesofencryptedmessage in table inventory not " \
286- " deleted in version 3" )
285+ self .assertNotEqual (answer , True ,
286+ "Column first20bytesofencryptedmessage in table inventory not deleted in version 3" )
287287
288288 # check deleting inventory_backup table
289289 self .test_db .cur .execute (''' SELECT count(name) FROM sqlite_master
@@ -336,7 +336,8 @@ def test_bm_db_version_5(self):
336336 self .assertEqual (version , 6 , "Settings version value not updated" )
337337
338338 # check deleting knownnodes table
339- self .test_db .cur .execute (''' SELECT count(name) FROM sqlite_master WHERE type='table' AND name='knownnodes' ''' )
339+ self .test_db .cur .execute (''' SELECT count(name) FROM sqlite_master
340+ WHERE type='table' AND name='knownnodes' ''' )
340341 res = self .test_db .cur .fetchall ()[0 ][0 ]
341342 self .assertNotEqual (res , 1 , "Table knownnodes not deleted in versioning 6" )
342343
0 commit comments