Commit graph

11 commits

Author SHA1 Message Date
David Lord
f0101de17b load env vars using python-dotenv 2017-07-16 13:37:51 -07:00
David Lord
b4505e53a5 allow local packages in FLASK_APP
don't require .py extension in FLASK_APP
add tests for nested package loading
parametrize cli loading tests
2017-07-14 19:49:05 -07:00
Miguel Grinberg
ce78369f37 Import app from wsgi.py or app.py if FLASK_APP is not defined
Fixes #2376
2017-06-15 11:27:50 -07:00
Hendrik Makait
e5dff166de Handle app factory with arguments in FLASK_APP 2017-05-25 10:11:42 -07:00
Paul Brown
74a0eee5a1 prevent NoAppException when ImportError occurs within imported module 2016-12-30 22:45:53 +01:00
Jannis Leidel
9c4a73013c Forward ported CLI tests from Flask-CLI and fixed a bug with the CLI's name. (#1806)
* Forward port the CLI tests from Flask-CLI.

* Make sure the parameter passed to the CLI's AppGroup is the app's name, not the app itself.
2016-05-16 19:36:55 +02:00
Markus Unterwaditzer
5e8c3488df Remove more test_apps 2014-09-11 22:09:52 +02:00
Markus Unterwaditzer
8bbc73bd3b Remove fake extensions from test_apps 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
cb6ad78963 Remove obsolete apps 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
1c40e7ad49 Tests pass now. 2014-09-11 22:09:50 +02:00
Markus Unterwaditzer
0c4f17008d Move tests 2014-09-11 22:09:50 +02:00