def test_file_specific_message(self):
        printed = self.run_formatter(factory.file_specific_message())

        self.assertResults(
            u"""
            TAP version 13
            1..5
            not ok 1 - a.txt
              ---
              message: "Problem with this file"
              plugin: Unnamed
              severity: warn
              ...
            not ok 2 - a.txt
              ---
              message: "Problem with this file"
              plugin: Unnamed
              severity: warn
              ...
            ok 3 - a.txt
              ---
              message: "Info A"
              plugin: Unnamed
              severity: info
              ...
            not ok 4 - b.txt
              ---
              message: "Warn B"
              plugin: Unnamed
              severity: warn
              ...
            not ok 5 - c.txt
              ---
              message: "Stop C"
              plugin: Unnamed
              severity: stop
              ...
            """,
            printed
        )
File-specific message.
dataset/ETHPy150Open robmadole/jig/src/jig/formatters/tests/test_tap.py/TestTapFormatter.test_file_specific_message