Skip to content

Commit

Permalink
Edit test to account for refactoring
Browse files Browse the repository at this point in the history
+ 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
  • Loading branch information
GabrielKS committed Jul 23, 2021
1 parent 490d6a8 commit 64cc9c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions emission/tests/pipelineTests/TestLabelInferencePipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 64cc9c2

Please sign in to comment.