# Path: magnate/savegame/base_types.py
# def type_name(value):
# def _generic_types_validator(type_enum, value):
# def load_base_types(datadir):
# def init_base_types(datadir):
# DATA_TYPES_SCHEMA = v.Schema({'version': '0.1',
#                               'types': {type_name: [str]}, },
#                              required=True)
# 
# Path: magnate/savegame/data_def.py
# BASE_SCHEMA = None
# SYSTEM_SCHEMA = None
#     SYSTEM_SCHEMA = v.Schema(v.All(system_structure,
#                                    known_celestial))
#     BASE_SCHEMA = v.Schema(v.All(base_structure,
#                                  volume_or_storage))
# def known_celestial(data):
# def volume_or_storage(data):
# def _define_schemas(datadir):
# def load_data_definitions(datadir):


import copy
import os
import pytest
import voluptuous
import voluptuous.error
from voluptuous.humanize import validate_with_humanized_errors as v_validate
from magnate.savegame import base_types
from magnate.savegame import data_def
# The idiom for unittests is to use classes for organization
# pylint: disable=no-self-use





pytestmark = pytest.mark.usefixtures('clean_context')


@pytest.fixture
def setup_base_types(datadir, clean_context):

# Path: magnate/savegame/base_types.py
# def type_name(value):
# def _generic_types_validator(type_enum, value):
# def load_base_types(datadir):
# def init_base_types(datadir):
# DATA_TYPES_SCHEMA = v.Schema({'version': '0.1',
#                               'types': {type_name: [str]}, },
#                              required=True)
# 
# Path: magnate/savegame/data_def.py
# BASE_SCHEMA = None
# SYSTEM_SCHEMA = None
#     SYSTEM_SCHEMA = v.Schema(v.All(system_structure,
#                                    known_celestial))
#     BASE_SCHEMA = v.Schema(v.All(base_structure,
#                                  volume_or_storage))
# def known_celestial(data):
# def volume_or_storage(data):
# def _define_schemas(datadir):
# def load_data_definitions(datadir):


# Path: tests/units/savegame/test_data_def.py
import copy
import os
import pytest
import voluptuous
import voluptuous.error
from voluptuous.humanize import validate_with_humanized_errors as v_validate
from magnate.savegame import base_types
from magnate.savegame import data_def

# The idiom for unittests is to use classes for organization
# pylint: disable=no-self-use





pytestmark = pytest.mark.usefixtures('clean_context')


@pytest.fixture
def setup_base_types(datadir, clean_context):

    base_types.init_base_types(datadir)