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

Method mssqlcli

tests/test_interactive_mode.py:21–28  ·  view source on GitHub ↗

Pytest fixture which returns interactive mssql-cli instance and cleans up on teardown.

()

Source from the content-addressed store, hash-verified

19 @staticmethod
20 @pytest.fixture(scope='class')
21 def mssqlcli():
22 """
23 Pytest fixture which returns interactive mssql-cli instance
24 and cleans up on teardown.
25 """
26 mssqlcli = create_mssql_cli(interactive_mode=True)
27 yield mssqlcli
28 shutdown(mssqlcli)
29
30
31class TestInteractiveModeQueries(TestInteractiveMode):

Callers

nothing calls this directly

Calls 2

create_mssql_cliFunction · 0.90
shutdownFunction · 0.90

Tested by

no test coverage detected