def METHOD_NAME(self):
    """Test bad content."""
    bad_input_file_name = os.path.join(self.tmpdir, "bad_content.txt")
    with open(bad_input_file_name, "w", encoding="utf-8") as bad_input_file:
        bad_input_file.write("NOT/_prometheus_data")
    with open(os.devnull, "w", encoding="utf-8") as err_output_file:
        self.assertEqual(
            None,
            fctl.scrape_prometheus(
                ["file://%s" % bad_input_file_name], err_output_file=err_output_file
            ),
        )