Fix PollForDecisionTask not respecting requested task list
This commit is contained in:
parent
1ccadb169f
commit
4e223d2318
2 changed files with 9 additions and 2 deletions
|
|
@ -45,6 +45,12 @@ def test_poll_for_decision_task_when_none():
|
|||
# after waiting 60s when there's no decision to be taken
|
||||
resp.should.equal({"previousStartedEventId": 0, "startedEventId": 0})
|
||||
|
||||
@mock_swf
|
||||
def test_poll_for_decision_task_on_non_existent_queue():
|
||||
conn = setup_workflow()
|
||||
resp = conn.poll_for_decision_task("test-domain", "non-existent-queue")
|
||||
resp.should.equal({"previousStartedEventId": 0, "startedEventId": 0})
|
||||
|
||||
@mock_swf
|
||||
def test_poll_for_decision_task_with_reverse_order():
|
||||
conn = setup_workflow()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue