Example #1
0
    def test_search_with_score_responsible(self):

        result = attribution_new.search(score_responsible=True)
        self.assertCountEqual(result, [self.attribution_new])
Example #2
0
 def test_search_with_global_ids(self):
     result = attribution_new.search(global_id__in=[self.person.global_id])
     self.assertCountEqual(result, [self.attribution_new])
Example #3
0
 def test_search_with_tutor(self):
     result = attribution_new.search(tutor=self.tutor)
     self.assertCountEqual(result, [self.attribution_new])
Example #4
0
 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])
Example #5
0
 def test_search_with_global_ids(self):
     result = attribution_new.search(global_id__in=[self.person.global_id])
     self.assertCountEqual(result, [self.attribution_new])
Example #6
0
 def test_search_with_score_responsible(self):
     result = attribution_new.search(score_responsible=True)
     self.assertCountEqual(result, [self.attribution_new])
Example #7
0
 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])
Example #8
0
 def test_search_with_tutor(self):
     result = attribution_new.search(tutor=self.tutor)
     self.assertCountEqual(result, [self.attribution_new])
Example #9
0
 def test_search_with_global_id(self):
     result = attribution_new.search(global_id=self.tutor.person.global_id)
     self.assertCountEqual(result, [self.attribution_new])