import os
import unittest

import juriscraper

JURISCRAPER_ROOT = os.path.realpath(
    os.path.join(os.path.realpath(juriscraper.__file__), "..")
)
TESTS_ROOT = os.path.realpath(os.path.join(JURISCRAPER_ROOT, "../tests"))
TESTS_ROOT_EXAMPLES = os.path.join(TESTS_ROOT, "examples")
TESTS_ROOT_EXAMPLES_PACER = os.path.join(TESTS_ROOT_EXAMPLES, "pacer")
TESTS_ROOT_EXAMPLES_LASC = os.path.join(TESTS_ROOT_EXAMPLES, "lasc")


def test_local():
    return unittest.TestLoader().discover("./tests/local")
