DirectEmployers/MyJobs — pull request #143 by tdphillips (2013-05-13 20:48:33+00:00)
Title: Tests - improves speed of tests doing network access - MJ-247

The main bottleneck for our tests is retrieving remote resources.

This solves that by keeping a local copy of specific pages and replacing `urllib2.urlopen` with a function that returns an open file handler pointing to one of them.

Depending on load, this can reduce the time that tests take to run by anywhere from 20 seconds to two minutes.

All tests pass.