Пример #1
0
 def test_create_tables(self):
     database.db.init(":memory:")
     database.create_tables()
     p = Primer.create(seq="ATGC")
     s = Set.create(_id=1, score=1)
     s.primers.add(p)
     database.db.close()
Пример #2
0
def tset():
    return Set.create(_id=1, score=100)