def METHOD_NAME(
    self,
):
    """Test that get_all_published_projects only returns required fields for recommendation"""
    # Arrange
    test_project = self.create_project()
    # Act
    projects = self.service.get_all_published_projects()
    # Assert
    self.assertEqual(len(projects), 1)
    self.assertEqual(projects[0].id, test_project.id)
    self.assertEqual(projects[0].mapping_types, test_project.mapping_types)
    self.assertEqual(projects[0].default_locale, test_project.default_locale)
    self.assertEqual(projects[0].difficulty, test_project.difficulty)
    self.assertEqual(projects[0].country, test_project.country)
    self.assertIsInstance(projects[0].interests, list)
    self.assertEqual(len(projects[0]), 6)