def test_feature_as_input_transformer_tuple(inputs): input, transformer = inputs feature = Feature(input, transformer) tup = feature.as_input_transformer_tuple() assert isinstance(tup, tuple) assert len(tup) == 3
def test_feature_as_input_transformer_tuple(self): feature = Feature(self.input, self.transformer) tup = feature.as_input_transformer_tuple() self.assertIsInstance(tup, tuple) self.assertEqual(len(tup), 3)