(*args)
| 130 | calls = [0] |
| 131 | |
| 132 | def effect(*args): |
| 133 | try: |
| 134 | m = Mock() |
| 135 | m.read.return_value = 'B' if calls[0] else 'A' |
| 136 | return m |
| 137 | finally: |
| 138 | calls[0] += 1 |
| 139 | |
| 140 | self.app.conf.task_serializer = 'auth' |
| 141 | self.app.conf.accept_content = ['auth'] |
nothing calls this directly
no outgoing calls
no test coverage detected