()
| 4 | |
| 5 | |
| 6 | def test_confirm_destructive_query_notty(): |
| 7 | stdin = click.get_text_stream("stdin") |
| 8 | if not stdin.isatty(): |
| 9 | sql = "drop database foo;" |
| 10 | assert confirm_destructive_query(sql, [], None) is None |
| 11 | |
| 12 | |
| 13 | def test_confirm_destructive_query_with_alias(): |
nothing calls this directly
no test coverage detected