def test_search_by_acronym(self):
        results = proposal_learning_unit.search(acronym=self.an_acronym)
        self.check_search_result(results)

        results = proposal_learning_unit.search(acronym=self.an_acronym[2:])
        self.check_search_result(results)
 def test_search_by_proposal_type(self):
     results = proposal_learning_unit.search(
         proposal_type=self.a_proposal_learning_unit.type)
     self.check_search_result(results)
 def test_search_by_academic_year(self):
     results = proposal_learning_unit.search(
         academic_year_id=self.an_academic_year.id)
     self.check_search_result(results)
 def test_search_by_proposal_list_learning_container_yr(self):
     self.check_search_result(
         proposal_learning_unit.search(
             learning_container_year_id=[self.learning_container_yr.id]))
 def test_search_by_proposal_learning_container_yr(self):
     results = proposal_learning_unit.search(
         learning_container_year_id=self.learning_container_yr.id)
     self.check_search_result(results)
 def test_search_by_entity_folder(self):
     results = proposal_learning_unit.search(
         entity_folder_id=self.a_proposal_learning_unit.entity.id)
     self.check_search_result(results)
 def test_search_by_folder_id(self):
     results = proposal_learning_unit.search(
         folder_id=self.a_proposal_learning_unit.folder_id)
     self.check_search_result(results)