csp provider tests requests.HTTPError exceptions

This commit is contained in:
2020-02-12 21:32:48 -05:00
parent efe042fac3
commit 88b3df7906
7 changed files with 661 additions and 239 deletions

View File

@@ -145,7 +145,7 @@ class PortfolioStateMachine(
self.trigger("fail")
elif self.current_state == FSMStates.FAILED:
# get the first trigger that starts with 'create_'
# get the first trigger that starts with 'resume_progress_'
resume_progress_trigger = next(
filter(
lambda trigger: trigger.startswith("resume_progress_"),