def test_invalid_shapeshifter(self,fro,to,mode): with pytest.raises(ValueError): util.shapeshifter(fro,to,mode)
def test_shapeshifter(self,fro,to,mode,answer): assert util.shapeshifter(fro,to,mode) == answer