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