David Lord
57515e1887
Merge branch 'master' into routes-command
2017-04-25 13:13:10 -07:00
Ed Brannin
9c40039620
Fix CLI test for ImportError -> NoAppException
2017-03-21 16:17:09 -04:00
Sven-Hendrik Haase
edd6e3154d
Add test to showcase that printing a traceback works
2017-03-16 20:56:12 +01:00
Paul Brown
74a0eee5a1
prevent NoAppException when ImportError occurs within imported module
2016-12-30 22:45:53 +01:00
Anton Sarukhanov
1832130c2e
Add test for get_version (CLI) ( #1884 )
2016-08-20 17:43:58 +02:00
Nate Prewitt
9608198047
adding in try around __import__ to catch invalid files/paths ( #1950 )
2016-08-12 15:12:00 +02:00
Hyunchel Kim
6179f41fd9
Enhance tests.test_cli.test_find_best_app ( #1882 )
...
This commit adds a test case for `test_find_best_app` where
Module object does not contain Flask application.
Also cleans the function little bit to provides more meaningful comment.
2016-07-05 12:46:01 -07:00
Kiss György
eb6880c00a
Added runner fixture
2016-06-25 13:24:43 +02:00
Kiss György
53444cfc8a
Added tests, fixed some minor alignment problems.
2016-06-25 13:22:18 +02:00
Anton Sarukhanov
a4f9c63bb2
Add test for find_default_import_path
2016-06-07 08:03:55 -04:00
Hyunchel Kim
266bd27e7b
Test side effect ( #1889 )
...
Function `prepare_exec_for_file` has a side effect where a path is added to
`sys.path` list.
This commit enhances an exisiting test case for `prepare_exec_for_file`
by testing the side effect of the function and adding necessary
comments.
2016-06-05 10:32:00 -07:00
jphilipsen05
92000b6658
fixed unmatched elif ( #1872 )
2016-06-03 18:41:10 +02:00
Armin Ronacher
3b98e39768
Implemented simplified CLI interface
2016-05-26 20:07:52 +02:00
dataforger
7108a51bbc
fix docstring ( #1818 )
...
change string to docstring
2016-05-24 21:06:34 +02: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