コード例 #1
0
ファイル: test_attribution_new.py プロジェクト: tuvirazor/SQA
    def test_search_with_score_responsible(self):

        result = attribution_new.search(score_responsible=True)
        self.assertCountEqual(result, [self.attribution_new])
コード例 #2
0
ファイル: test_attribution_new.py プロジェクト: tuvirazor/SQA
 def test_search_with_global_ids(self):
     result = attribution_new.search(global_id__in=[self.person.global_id])
     self.assertCountEqual(result, [self.attribution_new])
コード例 #3
0
ファイル: test_attribution_new.py プロジェクト: tuvirazor/SQA
 def test_search_with_tutor(self):
     result = attribution_new.search(tutor=self.tutor)
     self.assertCountEqual(result, [self.attribution_new])
コード例 #4
0
ファイル: test_attribution_new.py プロジェクト: tuvirazor/SQA
 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])
コード例 #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])
コード例 #6
0
 def test_search_with_score_responsible(self):
     result = attribution_new.search(score_responsible=True)
     self.assertCountEqual(result, [self.attribution_new])
コード例 #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])
コード例 #8
0
 def test_search_with_tutor(self):
     result = attribution_new.search(tutor=self.tutor)
     self.assertCountEqual(result, [self.attribution_new])
コード例 #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])