def test_commit_no_begin(self):
    with testing.db.connect() as conn:
        assert (not conn.in_transaction())
        conn.commit()
def test_commit_no_begin(self):
    with testing.db.connect() as conn:
        assert (not conn.in_transaction())
        conn.commit()