def test_transform_raises(self): with pytest.raises(TypeError): R._transform('fake', 'foo')
def test_transfrom_args(self, kind, text, expected): result = R._transform(kind, text) assert result == expected