Yelp/mrjob — Issue #321: Document MRJobRunner.counters()
Author: irskep
Created: 2011-12-22 22:02:06+00:00
State: open

This is a very useful function for tests:

with my_job.make_runner() as runner:
runner.run()
self.assertEqual(runner.counters(), [{'one': 1}])

It's available on all runners, so it should probably go in the documentation. It currently isn't there at all.