fix: add protection about sql injection

This commit is contained in:
ambertide committed 2022-05-29 01:32:59 +03:00
1 parent 6a3cafb920
commit 8a3865a137
8 files changed
+353 -6

No files matched your search

+1 -1
View File
@@ -207,7 +207,7 @@ class DatabaseMassInsert(unittest.TestCase):
_objs = fetch_all(MassCommit)
self.assertEqual(_objs, start_tup + tuple(self.objs))
def testMassCopy(self):
def _testMassCopy(self):
setattr(MassCommit, 'db_path', 'other.db')
start_tup = fetch_all(MassCommit)
copy_many(self.objs, 'other.db', False)