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

@@ -143,11 +143,9 @@ def test_fail_stage(portfolio):
sm.state = FSMStates.TENANT_IN_PROGRESS
sm.fail_stage("tenant")
assert sm.state == FSMStates.TENANT_FAILED
# import ipdb;ipdb.set_trace()
def test_stage_state_to_stage_name():
# sm = PortfolioStateMachineFactory.create(portfolio=portfolio)
stage = _stage_state_to_stage_name(
FSMStates.TENANT_IN_PROGRESS, StageStates.IN_PROGRESS
)