Add integration scaffolding script (#26777)
* Add integration scaffolding script * Make easier to develop * Update py.test -> pytest
This commit is contained in:
parent
5cf9ba51df
commit
8502f7c7d4
15 changed files with 425 additions and 0 deletions
10
script/scaffold/error.py
Normal file
10
script/scaffold/error.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
"""Errors for scaffolding."""
|
||||
|
||||
|
||||
class ExitApp(Exception):
|
||||
"""Exception to indicate app should exit."""
|
||||
|
||||
def __init__(self, reason, exit_code):
|
||||
"""Initialize the exit app exception."""
|
||||
self.reason = reason
|
||||
self.exit_code = exit_code
|
Loading…
Add table
Add a link
Reference in a new issue