#NEWLINE# @ mock_sqs #NEWLINE# def test_get_queue( ) : #NEWLINE# #INDENT# conn = boto . connect_sqs ( 'the_key' , 'the_secret' ) #NEWLINE# conn . create_queue ( 'test-queue' , visibility_timeout = 60 ) #NEWLINE# queue = conn . get_queue ( 'test-queue' ) #NEWLINE# queue . name . should . equal ( 'test-queue' ) #NEWLINE# queue . get_timeout ( ) . should . equal ( 60 ) #NEWLINE# nonexisting_queue = conn . get_queue ( 'nonexisting_queue' ) #NEWLINE# nonexisting_queue . should . be . none