Ejemplo n.º 1
0
 def test_macid_raises(macid: MACID) -> None:
     with pytest.raises(ValueError):
         admits_dir_voc(macid, "D2")
Ejemplo n.º 2
0
 def test_no_dir_voc_fitness_tracker(cid_fitness_tracker: CID) -> None:
     assert not admits_dir_voc(cid_fitness_tracker, "TF")
Ejemplo n.º 3
0
 def test_invalid_target(cid_fitness_tracker: CID) -> None:
     with pytest.raises(KeyError):
         admits_dir_voc(cid_fitness_tracker, "_")
Ejemplo n.º 4
0
 def test_has_dir_voc_fitness_tracker(cid_fitness_tracker: CID) -> None:
     assert admits_dir_voc(cid_fitness_tracker, "F")