()
| 39 | |
| 40 | @pytest.fixture |
| 41 | def ptk_app_session(): |
| 42 | with create_pipe_input() as pipe_input: |
| 43 | output = DummyOutput() |
| 44 | try: |
| 45 | with create_app_session( |
| 46 | input=pipe_input, output=output |
| 47 | ) as session: |
| 48 | yield session |
| 49 | finally: |
| 50 | pipe_input.close() |