This is fine. Just thought I'd share a general style piece... The assertRaises method was created for this case. For example,
```
    with self.assertRaises(httpexceptions.HTTPFound, get_content, (environ, self._start_response)) as exc:
        self.assertEqual(exc.status, '302 Found')
        ...
```