Checks valid command by running mssql-cli executable in repo
()
| 132 | @staticmethod |
| 133 | @pytest.mark.timeout(60) |
| 134 | def test_valid_command(): |
| 135 | """ |
| 136 | Checks valid command by running mssql-cli executable in repo |
| 137 | """ |
| 138 | if sys.platform == 'win32': |
| 139 | exe_name = 'mssql-cli.bat' |
| 140 | else: |
| 141 | exe_name = 'mssql-cli' |
| 142 | |
| 143 | assert is_command_valid([os.path.join(utility.ROOT_DIR, exe_name), '--version']) |
| 144 | |
| 145 | @staticmethod |
| 146 | @pytest.mark.timeout(60) |
nothing calls this directly
no test coverage detected