def test_search_with_attribution(self): result = attribution_charge_new.search( attribution=self.attribution_new) self.assertCountEqual(result, [ self.attribution_charge_new_lecturing, self.attribution_charge_new_practical ])
def test_search_with_learning_component_year_list(self): learning_component_year_list = [ self.learning_component_year_lecturing, self.learning_component_year_practical ] result = attribution_charge_new.search( learning_component_year=learning_component_year_list) self.assertCountEqual(result, [ self.attribution_charge_new_practical, self.attribution_charge_new_lecturing ])
def test_search_with_learning_component_year_list(self): learning_component_year_list = [self.learning_component_year_lecturing, self.learning_component_year_practical] result = attribution_charge_new.search(learning_component_year=learning_component_year_list) self.assertCountEqual(result, [self.attribution_charge_new_practical, self.attribution_charge_new_lecturing])
def test_search_with_learning_component_year(self): result = attribution_charge_new.search(learning_component_year=self.learning_component_year_practical) self.assertCountEqual(result, [self.attribution_charge_new_practical])
def test_search_with_attribution(self): result = attribution_charge_new.search(attribution=self.attribution_new) self.assertCountEqual(result, [self.attribution_charge_new_lecturing, self.attribution_charge_new_practical])