# Path: onix/backend/sql/schema.py
# def set_sqlite_pragma(dbapi_connection, connection_record):
# def _ignore_insert(conn, element, multiparams, params):
# def create_tables(engine):


import pytest
import sqlalchemy as sa
from onix.backend.sql import schema
"""Tests on the database schema for the SQL backend"""



@pytest.fixture()
def engine():
    return sa.create_engine('sqlite:///')


@pytest.fixture()
def initialize_db(engine):

# Path: onix/backend/sql/schema.py
# def set_sqlite_pragma(dbapi_connection, connection_record):
# def _ignore_insert(conn, element, multiparams, params):
# def create_tables(engine):


# Path: tests/backend/sql/test_schema.py
import pytest
import sqlalchemy as sa
from onix.backend.sql import schema

"""Tests on the database schema for the SQL backend"""



@pytest.fixture()
def engine():
    return sa.create_engine('sqlite:///')


@pytest.fixture()
def initialize_db(engine):

    schema.create_tables(engine)