# 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/fixtures/jewel.py
# class Jewel(object):
#     def __init__(self, name, carat):
#         self.name = name
#         self.carat = carat
# 
# Path: tests/fixtures/painting.py
# class Painting(object):
#     def __init__(self, name, author):
#         self.name = name
#         self.author = author
# 
# Path: tests/fixtures/book.py
# class Book(object):
#     def __init__(self, title, authors):
#         self.title = title
#         self.authors = authors


import pytest
from lupin import Schema, String, Constant, Int, Mapping, Float, processors, List
from ..fixtures import Thief, Painting, Jewel, Book
    }, "jewel")


@pytest.fixture
def thief_data():
    return {
        "lastName": "Lupin",
        "firstName": "Arsène"
    }


@pytest.fixture
def thief():
    return Thief(last_name="Lupin",
                 first_name="Arsène")


@pytest.fixture
def mona_lisa():
    return Painting(name="Mona Lisa",
                    author="Leonardo da Vinci")


@pytest.fixture
def painting_mapping(painting_schema):
    return Mapping(Painting, painting_schema)


@pytest.fixture
def jewel_mapping(jewel_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/fixtures/jewel.py
# class Jewel(object):
#     def __init__(self, name, carat):
#         self.name = name
#         self.carat = carat
# 
# Path: tests/fixtures/painting.py
# class Painting(object):
#     def __init__(self, name, author):
#         self.name = name
#         self.author = author
# 
# Path: tests/fixtures/book.py
# class Book(object):
#     def __init__(self, title, authors):
#         self.title = title
#         self.authors = authors


# Path: tests/lupin/conftest.py
import pytest
from lupin import Schema, String, Constant, Int, Mapping, Float, processors, List
from ..fixtures import Thief, Painting, Jewel, Book

    }, "jewel")


@pytest.fixture
def thief_data():
    return {
        "lastName": "Lupin",
        "firstName": "Arsène"
    }


@pytest.fixture
def thief():
    return Thief(last_name="Lupin",
                 first_name="Arsène")


@pytest.fixture
def mona_lisa():
    return Painting(name="Mona Lisa",
                    author="Leonardo da Vinci")


@pytest.fixture
def painting_mapping(painting_schema):
    return Mapping(Painting, painting_schema)


@pytest.fixture
def jewel_mapping(jewel_schema):

    return Mapping(Jewel, jewel_schema)