# Path: models/bases.py
# NO_VALUE = sa_symbol('NO_VALUE')
# class Base(object):
# class BaseModel(Base):
#     def __repr__(self):
#     def __str__(self):
#     def __tablename__(cls):  # pylint: disable=no-self-argument
#     def delete(self):
#     def _prepare_conditions(cls, conditions):
#     def get_all(cls, conditions=None):
#     def get_by_pk(cls, the_id):
#     def save(self, flush=False):


    from builtins import *  # pylint: disable=unused-wildcard-import,redefined-builtin,wildcard-import
from models import bases
    import sys
import datetime
import warnings
import marshmallow
import pytest
import sqlalchemy as sa
import sqlalchemy.orm as saorm
import ourmarshmallow
"""
Tests for our customized marshmallow Schema
"""
from __future__ import (absolute_import, division, print_function, unicode_literals)
try:
except ImportError:
    print("WARNING: Cannot Load builtins for py3 compatibility.", file=sys.stderr)





warnings.simplefilter("error")  # Make All warnings errors while testing.

class FakeRelation(bases.BaseModel):
    """ Has many FakeModels relatinships. """
    email = sa.Column(sa.String(50), unique=True, nullable=False)

    fake_models = saorm.relationship('FakeModel', back_populates='fake_relation')



# Path: models/bases.py
# NO_VALUE = sa_symbol('NO_VALUE')
# class Base(object):
# class BaseModel(Base):
#     def __repr__(self):
#     def __str__(self):
#     def __tablename__(cls):  # pylint: disable=no-self-argument
#     def delete(self):
#     def _prepare_conditions(cls, conditions):
#     def get_all(cls, conditions=None):
#     def get_by_pk(cls, the_id):
#     def save(self, flush=False):


# Path: tests/ourmarshmallow/test_schema.py
    from builtins import *  # pylint: disable=unused-wildcard-import,redefined-builtin,wildcard-import
from models import bases
    import sys
import datetime
import warnings
import marshmallow
import pytest
import sqlalchemy as sa
import sqlalchemy.orm as saorm
import ourmarshmallow

"""
Tests for our customized marshmallow Schema
"""
from __future__ import (absolute_import, division, print_function, unicode_literals)
try:
except ImportError:
    print("WARNING: Cannot Load builtins for py3 compatibility.", file=sys.stderr)





warnings.simplefilter("error")  # Make All warnings errors while testing.

class FakeRelation(bases.BaseModel):
    """ Has many FakeModels relatinships. """
    email = sa.Column(sa.String(50), unique=True, nullable=False)

    fake_models = saorm.relationship('FakeModel', back_populates='fake_relation')



class FakeModel(bases.BaseModel):