def METHOD_NAME(self):
    # Arrange
    view = self.setUpView(
        content_type=ContentType(pk=1000000, app_label="Test", model="Test")
    )
    # Act & Assert
    with self.assertRaises(Http404):
        view.get_queryset()