(self, app)
| 12 | class test_TaskConsumer: |
| 13 | |
| 14 | def test_accept_content(self, app): |
| 15 | with app.pool.acquire(block=True) as con: |
| 16 | app.conf.accept_content = ['application/json'] |
| 17 | assert app.amqp.TaskConsumer(con).accept == { |
| 18 | 'application/json', |
| 19 | } |
| 20 | assert app.amqp.TaskConsumer(con, accept=['json']).accept == { |
| 21 | 'application/json', |
| 22 | } |
| 23 | |
| 24 | |
| 25 | class test_ProducerPool: |
nothing calls this directly
no test coverage detected