Skip to content
Myr

run-tests.py

This file

Path

run-tests.py

5 lines · 140 bytes · Python

Last changed by

Do not break extension tests if tested with installed extensions.Armin Ronacherbefore adoption56afafa

History of this file

Take it

Added shebang to the test run fileArmin Ronacherbefore adoptionc0f42a0

line 1why, one step back
1#!/usr/bin/env python

Do not break extension tests if tested with installed extensions.Armin Ronacherbefore adoption56afafa

lines 2–3why, one step back
2import sys, os
3sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

Some more cleanups in how the test runner is invokedArmin Ronacherbefore adoptione509d25

lines 4–5why, one step back
4from flask.testsuite import main
5main()