def test_preprocess_raises(self, options): with pytest.raises(TypeError): R.validate_options(options)
def test_preprocess(self, options, expected): R.validate_options(options) result = R.preprocess_options(options) assert result == expected