I think it's more conventional for custom assertions to appear as methods on the object. If you see this function being used frequently, consider making this a ViewTestCase class, a la:
```
class ViewTestCase(TestCase):
def assertViewEquals(self, ...):
    ...
```