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 8020d5eac9
commit 5436dddf64
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
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