示例#1
0
 def test_is_outcome_recommended(self):
     assert is_outcome_recommended(TAAR_LITE_OUTCOME_REAL_SUCCESS)
     assert not is_outcome_recommended(TAAR_LITE_OUTCOME_REAL_FAIL)
     assert not is_outcome_recommended(TAAR_LITE_OUTCOME_CURATED)
示例#2
0
 def test_is_outcome_recommended(self):
     assert is_outcome_recommended(TAAR_LITE_OUTCOME_REAL_SUCCESS)
     assert not is_outcome_recommended(TAAR_LITE_OUTCOME_REAL_FAIL)
     assert not is_outcome_recommended(TAAR_LITE_OUTCOME_CURATED)
     assert not self.recommendation_server_mock.called
示例#3
0
 def test_is_outcome_recommended(self):
     assert is_outcome_recommended(TAAR_LITE_OUTCOME_REAL_SUCCESS)
     assert not is_outcome_recommended(TAAR_LITE_OUTCOME_REAL_FAIL)
     assert not is_outcome_recommended(TAAR_LITE_OUTCOME_CURATED)
     assert not self.recommendation_server_mock.called
示例#4
0
 def test_is_outcome_recommended(self):
     assert is_outcome_recommended(TAAR_LITE_OUTCOME_REAL_SUCCESS)
     assert not is_outcome_recommended(TAAR_LITE_OUTCOME_REAL_FAIL)
     assert not is_outcome_recommended(TAAR_LITE_OUTCOME_CURATED)