()
| 22 | |
| 23 | @pytest.fixture |
| 24 | def client(): |
| 25 | sanic_app = main.app |
| 26 | |
| 27 | # make register_tortoise treat this as sanic-testing (ReusableClient doesn't set this flag) |
| 28 | sanic_app._test_manager = True |
| 29 | client = ReusableClient(sanic_app) |
| 30 | with client: |
| 31 | yield client |
| 32 | |
| 33 | |
| 34 | def test_basic_test_client(client): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…