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

Method test_no_limit

tests/test_rowlimit.py:27–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25 assert result
26
27 def test_no_limit(self):
28 cli_options = create_mssql_cli_options(row_limit=0)
29 cli = MssqlCli(cli_options)
30 assert cli.row_limit == 0
31 stmt = "SELECT * FROM students"
32
33 result = cli._should_show_limit_prompt(stmt, ['row']*self.over_limit)
34 assert not result
35
36 def test_row_limit_on_non_select(self):
37 cli = MssqlCli(self.DEFAULT_OPTIONS)

Callers

nothing calls this directly

Calls 3

create_mssql_cli_optionsFunction · 0.90
MssqlCliClass · 0.90

Tested by

no test coverage detected