From 64cc9c255525dea412349cd84ba34e91baba5a2e Mon Sep 17 00:00:00 2001 From: GabrielKS <23368820+GabrielKS@users.noreply.github.com> Date: Thu, 22 Jul 2021 21:13:48 -0600 Subject: [PATCH] Edit test to account for refactoring + Just needed to update the fully qualified names of the predictors - Note that the ensemble test is weak enough that it did not need to be changed -- this may or may not be something to work on in the future --- emission/tests/pipelineTests/TestLabelInferencePipeline.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emission/tests/pipelineTests/TestLabelInferencePipeline.py b/emission/tests/pipelineTests/TestLabelInferencePipeline.py index 04236f9ad..97ad6982b 100644 --- a/emission/tests/pipelineTests/TestLabelInferencePipeline.py +++ b/emission/tests/pipelineTests/TestLabelInferencePipeline.py @@ -5,6 +5,7 @@ import time import emission.analysis.classification.inference.labels.pipeline as eacilp +import emission.analysis.classification.inference.labels.inferrers as eacili import emission.core.wrapper.labelprediction as ecwl import emission.storage.decorations.analysis_timeseries_queries as esda import emission.storage.timeseries.timequery as estt @@ -15,8 +16,8 @@ class TestLabelInferencePipeline(unittest.TestCase): # It is important that these functions be deterministic test_algorithms = { - ecwl.AlgorithmTypes.PLACEHOLDER_0: eacilp.placeholder_predictor_0, - ecwl.AlgorithmTypes.PLACEHOLDER_2: eacilp.placeholder_predictor_2 + ecwl.AlgorithmTypes.PLACEHOLDER_0: eacili.placeholder_predictor_0, + ecwl.AlgorithmTypes.PLACEHOLDER_2: eacili.placeholder_predictor_2 } def setUp(self):