rewrite cli errors

consistent order for arguments to load functions
refactor find_app_by_string to flow better
more cli loader tests
This commit is contained in:
David Lord 2017-07-14 20:34:23 -07:00
parent 65e04ec94d
commit 042948a4ad
3 changed files with 82 additions and 59 deletions

View file

@ -13,3 +13,7 @@ def create_app2(foo, bar):
def create_app3(foo, script_info):
return Flask('_'.join(['app3', foo, script_info.data['test']]))
def no_app():
pass