#NEWLINE# def test_enqueue_ready_set_contents( self ) : #NEWLINE# #INDENT# job_id = self . _get_job_id ( ) #NEWLINE# start_time = str ( generate_epoch ( ) ) #NEWLINE# response = self . queue . enqueue ( payload = self . _test_payload_1 , interval = 10000 , job_id = job_id , queue_id = self . _test_queue_id , queue_type = self . _test_queue_type ) #NEWLINE# end_time = str ( generate_epoch ( ) ) #NEWLINE# sorted_set_name = ( '%s:%s' % ( self . queue . _key_prefix , self . _test_queue_type ) ) #NEWLINE# queue_id_list = self . queue . _r . zrangebyscore ( sorted_set_name , start_time , end_time ) #NEWLINE# self . assertEqual ( len ( queue_id_list ) , 1 ) #NEWLINE# self . assertEqual ( queue_id_list [ 0 ] , self . _test_queue_id )