-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup and illustrate tests I should write
- Loading branch information
Showing
5 changed files
with
49 additions
and
43 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
example/example_inputs/try_orelse_with_no_variables_to_save.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
def does_this_kill_us(diff): | ||
return subprocess.call(diff, shell=True) | ||
|
||
# @app.route('/poc', methods=['POST']) | ||
# def poc(): | ||
try: | ||
print('A5') | ||
except ImportError: | ||
print('Wagyu') | ||
else: | ||
does_this_kill_us("hard-coded string") | ||
print('So') | ||
print('Good') |
13 changes: 13 additions & 0 deletions
13
example/example_inputs/try_orelse_with_no_variables_to_save_and_no_args.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
def does_this_kill_us(): | ||
return subprocess.call('ls', shell=True) | ||
|
||
# @app.route('/poc', methods=['POST']) | ||
# def poc(): | ||
try: | ||
print('A5') | ||
except ImportError: | ||
print('Wagyu') | ||
else: | ||
does_this_kill_us() | ||
print('So') | ||
print('Good') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters