MCPcopy Create free account
hub / github.com/django/code.djangoproject.com / CMD_RUNTESTS

Function CMD_RUNTESTS

traccheck.py:283–287  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

281
282
283def CMD_RUNTESTS(options):
284 runner = unittest.TextTestRunner()
285 suite = unittest.defaultTestLoader.loadTestsFromTestCase(TracCheckTestCase)
286 result = runner.run(suite)
287 return 0 if result.wasSuccessful() else 1
288
289
290if __name__ == "__main__":

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected