Add basic get_execution_history implementation for Step Functions (#3507)
* Add format command to makefile * Refactor executions to be a attribute of StateMachine * Begin to add tests for execution history * Add tests for failed and successful event histories, with implementations * Add failure case to environment var check * Skip test if in server mode and update implementation coverage * Add conditional import for mock to cover python 2 * Refactor stop execution logic into StateMachine * Refactor event history environment variable into settings.py * Remove typing and os import
This commit is contained in:
parent
ffa7f2e41a
commit
48df5bd5af
6 changed files with 383 additions and 46 deletions
4
Makefile
4
Makefile
|
|
@ -20,12 +20,14 @@ lint:
|
|||
flake8 moto
|
||||
black --check moto/ tests/
|
||||
|
||||
format:
|
||||
black moto/ tests/
|
||||
|
||||
test-only:
|
||||
rm -f .coverage
|
||||
rm -rf cover
|
||||
@pytest -sv --cov=moto --cov-report html ./tests/ $(TEST_EXCLUDE)
|
||||
|
||||
|
||||
test: lint test-only
|
||||
|
||||
test_server:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue