Verify that we update the filename attribute.
(stdin_get_value, default_options)
| 106 | |
| 107 | @mock.patch("flake8.utils.stdin_get_value") |
| 108 | def test_stdin_filename_attribute(stdin_get_value, default_options): |
| 109 | """Verify that we update the filename attribute.""" |
| 110 | stdin_get_value.return_value = "" |
| 111 | file_processor = processor.FileProcessor("-", default_options) |
| 112 | assert file_processor.filename == "stdin" |
| 113 | |
| 114 | |
| 115 | @mock.patch("flake8.utils.stdin_get_value") |
nothing calls this directly
no outgoing calls
no test coverage detected