"""
Basic tests that the schema works literally at all
"""

from bbdb import make_session_factory, schema

import pytest

session_factory = make_session_factory("sqlite:///:memory:")


@pytest.fixture
def session():
  return session_factory()


def test_schema(session):
  assert session.query(schema.Person).all() is not None
  assert session.query(schema.Persona).all() is not None

3307544b6bf245aa08f2743b8ef78f7849f38cab
<mask token>

<mask token>


@pytest.fixture
def session():
    return session_factory()


def test_schema(session):
    assert session.query(schema.Person).all() is not None
    assert session.query(schema.Persona).all() is not None

<mask token>
session_factory = make_session_factory('sqlite:///:memory:')


@pytest.fixture
def session():
    return session_factory()


def test_schema(session):
    assert session.query(schema.Person).all() is not None
    assert session.query(schema.Persona).all() is not None

<mask token>
from bbdb import make_session_factory, schema
import pytest
session_factory = make_session_factory('sqlite:///:memory:')


@pytest.fixture
def session():
    return session_factory()


def test_schema(session):
    assert session.query(schema.Person).all() is not None
    assert session.query(schema.Persona).all() is not None

"""
Basic tests that the schema works literally at all
"""

from bbdb import make_session_factory, schema

import pytest

session_factory = make_session_factory("sqlite:///:memory:")


@pytest.fixture
def session():
  return session_factory()


def test_schema(session):
  assert session.query(schema.Person).all() is not None
  assert session.query(schema.Persona).all() is not None
