(test_db_name)
| 165 | return (state_desc, error_desc) |
| 166 | |
| 167 | def clean_up_test_db(test_db_name): |
| 168 | client = create_mssql_cli_client() |
| 169 | query = u"DROP DATABASE {0};".format(test_db_name) |
| 170 | success = True |
| 171 | for _, _, _, _, is_error in client.execute_query(query): |
| 172 | if is_error is True: |
| 173 | success = False |
| 174 | shutdown(client) |
| 175 | return success |
| 176 | |
| 177 | def get_file_contents(file_path): |
| 178 | """ Get expected result from file. """ |
no test coverage detected