Example #1
0
 def test_macid_raises(macid: MACID) -> None:
     with pytest.raises(ValueError):
         admits_voc(macid, "U1")
Example #2
0
 def test_no_voc_modified_content_recommender(
         cid_modified_content_recommender: CID) -> None:
     assert not admits_voc(cid_modified_content_recommender, "I")
Example #3
0
 def test_invalid_target(cid_content_recommender: CID) -> None:
     with pytest.raises(KeyError):
         admits_voc(cid_content_recommender, "_")
Example #4
0
 def test_has_voc_modified_content_recommender(
         cid_modified_content_recommender: CID) -> None:
     assert admits_voc(cid_modified_content_recommender, "M")