Example #1
0
def run_tests():
    LINARO_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
    sys.path.append(LINARO_PATH)

    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "linaro_django_pagination.test_project.settings")

    import django
    if hasattr(django, 'setup'):
        django.setup()

    from django_testproject.tests import run_tests_for
    run_tests_for("linaro_django_pagination.test_project.settings")
Example #2
0
def run_tests():
    LINARO_PATH = os.path.dirname(
        os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
    sys.path.append(LINARO_PATH)

    os.environ.setdefault("DJANGO_SETTINGS_MODULE",
                          "linaro_django_pagination.test_project.settings")

    import django
    if hasattr(django, 'setup'):
        django.setup()

    from django_testproject.tests import run_tests_for
    run_tests_for("linaro_django_pagination.test_project.settings")
Example #3
0
def run_tests():
    return run_tests_for("lava_server.settings.development", None)
Example #4
0
def run_tests():
    from django_testproject.tests import run_tests_for
    run_tests_for("dj_pagination.test_project.settings")
Example #5
0
def run_tests():
    from django_testproject.tests import run_tests_for
    # test last two items in INSTALLED APPS
    return run_tests_for("linaro_django_xmlrpc.test_project.settings", -2)