MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / step_send_source_command

Function step_send_source_command

tests/features/steps/basic_commands.py:43–49  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

41
42@when(u'we send source command')
43def 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)

Callers

nothing calls this directly

Calls 2

writeMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected