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

Method test_missing_rc_dir

tests/test_main.py:144–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142
143 @staticmethod
144 def test_missing_rc_dir():
145 try:
146 rcfilePath = getTempPath('subdir', 'rcfile')
147 mssqlcli = create_mssql_cli(mssqlclirc_file=rcfilePath)
148 assert os.path.exists(rcfilePath)
149 finally:
150 mssqlcli.sqltoolsclient.shutdown()
151
152 @staticmethod
153 def run_and_return_string_from_formatter(mssql_cli, sql, join=False, expanded=False):

Callers

nothing calls this directly

Calls 3

getTempPathFunction · 0.90
create_mssql_cliFunction · 0.90
shutdownMethod · 0.45

Tested by

no test coverage detected