def test_strict_exeggcute(session, media_root):
 with pytest.raises(ValueError):
  exeggcute = session.query(tables.PokemonSpecies).filter_by(identifier=u'exeggcute').one()
  accessor = media.PokemonSpeciesMedia(media_root, exeggcute)
  accessor.sprite(female=True, strict=True)

def test_strict_exeggcute ( session , media_root ) : with pytest . raises ( ValueError ) : exeggcute = session . query ( tables . PokemonSpecies ) . filter_by ( identifier = u'exeggcute' ) . one ( ) accessor = media . PokemonSpeciesMedia ( media_root , exeggcute ) accessor . sprite ( female = True , strict = True )
exeggcutess female backsprite .