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()
def tset(): return Set.create(_id=1, score=100)