From c68d469489fdd7ad012e1da39881d28014d315d7 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Sat, 12 Oct 2019 00:30:37 +0100 Subject: [PATCH] Make it possible to use the test job related features with the commit extractor --- bugbug/commit_features.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bugbug/commit_features.py b/bugbug/commit_features.py index eadf510b..e74a323f 100644 --- a/bugbug/commit_features.py +++ b/bugbug/commit_features.py @@ -266,6 +266,8 @@ class CommitExtractor(BaseEstimator, TransformerMixin): continue res = feature_extractor(commit["bug"]) + elif "test_scheduling_features" in feature_extractor.__module__: + res = feature_extractor(commit["test_job"]) else: res = feature_extractor(commit)