Added filtering test part
This commit is contained in:
parent
15218df12f
commit
b8f24298fd
@ -302,8 +302,13 @@ def test_create_job_queue():
|
|||||||
|
|
||||||
resp = batch_client.describe_job_queues()
|
resp = batch_client.describe_job_queues()
|
||||||
resp.should.contain('jobQueues')
|
resp.should.contain('jobQueues')
|
||||||
|
len(resp['jobQueues']).should.equal(1)
|
||||||
resp['jobQueues'][0]['jobQueueArn'].should.equal(queue_arn)
|
resp['jobQueues'][0]['jobQueueArn'].should.equal(queue_arn)
|
||||||
|
|
||||||
|
resp = batch_client.describe_job_queues(jobQueues=['test_invalid_queue'])
|
||||||
|
resp.should.contain('jobQueues')
|
||||||
|
len(resp['jobQueues']).should.equal(0)
|
||||||
|
|
||||||
|
|
||||||
@mock_ec2
|
@mock_ec2
|
||||||
@mock_ecs
|
@mock_ecs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user