()
| 145 | |
| 146 | |
| 147 | def test_format_output_truncate_off(): |
| 148 | settings = OutputSettings(table_format="psql", dcmlfmt="d", floatfmt="g", max_field_width=None) |
| 149 | long_field_value = ("first field " * 100).strip() |
| 150 | results = format_output(None, [(long_field_value,)], ["head1"], None, settings) |
| 151 | lines = list(results) |
| 152 | assert lines[3] == f"| {long_field_value} |" |
| 153 | |
| 154 | |
| 155 | @dbtest |
nothing calls this directly
no test coverage detected