コード例 #1
0
 def test_preprocess_raises(self, options):
     with pytest.raises(TypeError):
         R.validate_options(options)
コード例 #2
0
 def test_preprocess(self, options, expected):
     R.validate_options(options)
     result = R.preprocess_options(options)
     assert result == expected