# Path: tests/fixtures/thief.py
# class Thief(object):
#     """Thief fake class"""
# 
#     def __init__(self, first_name, last_name):
#         """
#         Args:
#             first_name (str): thief first name
#             last_name (str): thief last name
#         """
#         self.first_name = first_name
#         self.last_name = last_name


import pytest
from lupin import Mapper, Object
from lupin.errors import InvalidDocument
from tests.fixtures import Thief



@pytest.fixture
def mapper():
    return Mapper()


@pytest.fixture(autouse=True)
def mapping(mapper, thief_schema):

# Path: tests/fixtures/thief.py
# class Thief(object):
#     """Thief fake class"""
# 
#     def __init__(self, first_name, last_name):
#         """
#         Args:
#             first_name (str): thief first name
#             last_name (str): thief last name
#         """
#         self.first_name = first_name
#         self.last_name = last_name


# Path: tests/lupin/fields/test_object.py
import pytest
from lupin import Mapper, Object
from lupin.errors import InvalidDocument
from tests.fixtures import Thief




@pytest.fixture
def mapper():
    return Mapper()


@pytest.fixture(autouse=True)
def mapping(mapper, thief_schema):

    mapper.register(Thief, thief_schema)