Skip to content

Commit

Permalink
fix: test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Nandita Koppisetty <[email protected]>
  • Loading branch information
nkoppisetty committed Dec 12, 2023
1 parent cd7df98 commit e20ee91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/udfs/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from numalogic._constants import TESTS_DIR
from numalogic.udfs._config import PipelineConf
from numalogic.udfs.pipeline import PipelineUDF
from numalogic.udfs.ml_pipeline import MLPipelineUDF
from tests.udfs.utility import input_json_from_file

logging.basicConfig(level=logging.DEBUG)
Expand All @@ -31,8 +31,8 @@ def setUp(self) -> None:
schema = OmegaConf.structured(PipelineConf)
pl_conf = PipelineConf(**OmegaConf.merge(schema, _given_conf))
pl_conf_2 = PipelineConf(**OmegaConf.merge(schema, _given_conf_2))
self.udf1 = PipelineUDF(pl_conf=pl_conf)
self.udf2 = PipelineUDF(pl_conf=pl_conf_2)
self.udf1 = MLPipelineUDF(pl_conf=pl_conf)
self.udf2 = MLPipelineUDF(pl_conf=pl_conf_2)
self.udf1.register_conf("druid-config", pl_conf.stream_confs["druid-config"])
self.udf2.register_conf("druid-config", pl_conf_2.stream_confs["druid-config"])

Expand Down

0 comments on commit e20ee91

Please sign in to comment.