Beispiel #1
0
 def runTest(self):
     Database.add_proteins_multi([self.raw_record, self.raw_record], self.database)
Beispiel #2
0
 def runTest(self):
     Database.add_proteins_multi([self.raw_record, self.raw_record], self.database, processes=1)
     added_id = self.session.query(Database.UniprotProtein.id).first()[0]
     self.assertEqual(self.record.id, added_id)