# Path: tests/support/factories/core_files.py
# TEST_FILE_RESPONSES = {}
# 
# Path: tests/support/constants.py
# BAD_DATAJSON_URL = "http://104.131.35.253/data.json"
# 
# BAD_DATAJSON_URL2 = "http://181.209.63.71/data.json"
# 
# Path: tests/support/utils.py
# def jsonschema_str(string):
#     return repr(string)
# 
# Path: tests/context.py

# 
# Path: tests/support/decorators.py
# RESULTS_DIR = os.path.join("tests", "results")


import json
import os.path
import re
import requests_mock
import vcr
    import mock
import io
from nose.tools import assert_true, assert_false, assert_dict_equal, \
    assert_regexp_matches
from six import iteritems, text_type
from tests.support.factories.core_files import TEST_FILE_RESPONSES
from .support.constants import BAD_DATAJSON_URL, BAD_DATAJSON_URL2
from .support.utils import jsonschema_str
    from unittest import mock
from .context import pydatajson
from .support.decorators import RESULTS_DIR
# -*- coding: utf-8 -*-

from __future__ import print_function, unicode_literals, with_statement




try:
except ImportError:


my_vcr = vcr.VCR(path_transformer=vcr.VCR.ensure_suffix('.yaml'),
                 cassette_library_dir=os.path.join("tests", "cassetes"),
                 record_mode='once')


class TestDataJsonTestCase(object):
    SAMPLES_DIR = os.path.join("tests", "samples")

# Path: tests/support/factories/core_files.py
# TEST_FILE_RESPONSES = {}
# 
# Path: tests/support/constants.py
# BAD_DATAJSON_URL = "http://104.131.35.253/data.json"
# 
# BAD_DATAJSON_URL2 = "http://181.209.63.71/data.json"
# 
# Path: tests/support/utils.py
# def jsonschema_str(string):
#     return repr(string)
# 
# Path: tests/context.py

# 
# Path: tests/support/decorators.py
# RESULTS_DIR = os.path.join("tests", "results")


# Path: tests/test_validation.py
import json
import os.path
import re
import requests_mock
import vcr
    import mock
import io
from nose.tools import assert_true, assert_false, assert_dict_equal, \
    assert_regexp_matches
from six import iteritems, text_type
from tests.support.factories.core_files import TEST_FILE_RESPONSES
from .support.constants import BAD_DATAJSON_URL, BAD_DATAJSON_URL2
from .support.utils import jsonschema_str
    from unittest import mock
from .context import pydatajson
from .support.decorators import RESULTS_DIR

# -*- coding: utf-8 -*-

from __future__ import print_function, unicode_literals, with_statement




try:
except ImportError:


my_vcr = vcr.VCR(path_transformer=vcr.VCR.ensure_suffix('.yaml'),
                 cassette_library_dir=os.path.join("tests", "cassetes"),
                 record_mode='once')


class TestDataJsonTestCase(object):
    SAMPLES_DIR = os.path.join("tests", "samples")

    RESULTS_DIR = RESULTS_DIR