MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / test_to_console_singular

Method test_to_console_singular

tests/unit/reporting_test.py:296–299  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

294 self.assertIn("2 issues", output)
295
296 def test_to_console_singular(self):
297 reporter = Reporter([_make_issue()], "console")
298 output = reporter.to_console()
299 self.assertIn("1 issue", output)
300
301 def test_to_console_shows_rule_id_and_code(self):
302 reporter = Reporter([_make_issue()], "console")

Callers

nothing calls this directly

Calls 3

to_consoleMethod · 0.95
ReporterClass · 0.90
_make_issueFunction · 0.85

Tested by

no test coverage detected