def METHOD_NAME(self, mock_connection1, mock_connection2):
    """Home view for public tenant should permanent redirect (301) to the public flatpage called 'home'
    """
    self.assertRedirects(
        response=self.client.get(reverse('home')),
        status_code=301,
        target_status_code=404,  # the flatpage doesn't actually exist at this point in the test, but its creation is tested elsewhere
        expected_url='/pages/home'
    )