(context)
| 41 | |
| 42 | @when(u'we send source command') |
| 43 | def step_send_source_command(context): |
| 44 | with tempfile.NamedTemporaryFile() as f: |
| 45 | f.write(b'\?') |
| 46 | f.flush() |
| 47 | context.cli.sendline('\i {0}'.format(f.name)) |
| 48 | wrappers.expect_exact( |
| 49 | context, context.conf['pager_boundary'] + '\r\n', timeout=5) |