Yelp/mrjob — pull request #495 by irskep (2012-07-03 06:01:40+00:00)
Title: Simplify mrjob.conf sandboxing in local and EMR tests

This is a small tweak to the EMR and local tests. Instead of creating a config file on every test and passing it into each job/runner instantiation, the base test class just patches `load_mrjob_confs_from_file()` to return a basic configuration.

To do at some point but not immediately:

* use `SandboxedTestCase` everywhere a temp directory is created for a test case
* use `EmptyMrjobConfTestCase` everywhere a minimal `mrjob.conf` is passed to a job/runner in a test case

This branch is called `mock_fs` because I was originally going to replace a bunch of `mockboto` calls with a stub `fs` object, which I might still do in some future pull request.