()
| 46 | |
| 47 | |
| 48 | def test_wrong_encoding(): |
| 49 | # It's more of a problem when the file doesn't actually decode. |
| 50 | with pytest.raises(subprocess.CalledProcessError) as exception: |
| 51 | get_command_output(["ftfy", "-e", "windows-1252", TEST_FILENAME]) |
| 52 | assert exception.value.output.decode("utf-8") == FAILED_OUTPUT |
| 53 | |
| 54 | |
| 55 | def test_same_file(): |
nothing calls this directly
no test coverage detected