def test_search_with_score_responsible(self): result = attribution_new.search(score_responsible=True) self.assertCountEqual(result, [self.attribution_new])
def test_search_with_global_ids(self): result = attribution_new.search(global_id__in=[self.person.global_id]) self.assertCountEqual(result, [self.attribution_new])
def test_search_with_tutor(self): result = attribution_new.search(tutor=self.tutor) self.assertCountEqual(result, [self.attribution_new])
def test_search_with_learning_container_years(self): result = attribution_new.search( learning_container_year__in=[self.learning_container_year]) self.assertCountEqual(result, [self.attribution_new])
def test_search_with_learning_container_years(self): result = attribution_new.search(learning_container_year__in=[self.learning_container_year]) self.assertCountEqual(result, [self.attribution_new])
def test_search_with_global_id(self): result = attribution_new.search(global_id=self.tutor.person.global_id) self.assertCountEqual(result, [self.attribution_new])