So, it looks like if I revert this change and the one below it here on line 89, tests start to pass. Doesn't look like Django 1.4.5 has RequestFactory