Esempio n. 1
0
#!/usr/bin/env python
import sys, os
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
from flask.testsuite import main
main()
Esempio n. 2
0
#!/usr/bin/env python
import sys
import os

sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
from flask.testsuite import main
main()
Esempio n. 3
0
def _run_test(name):
    sys.argv[:] = sys.argv[:1]
    cls = getattr(flask_oldsessions, name)
    Flask.session_interface = cls()
    main()