Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Unified Diff: appengine/findit/crash/loglinear/test/feature_test.py

Issue 2613153006: [Predator] Add TouchCrashedFileMetaFeature. (Closed)
Patch Set: Add comments. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/findit/crash/loglinear/test/feature_test.py
diff --git a/appengine/findit/crash/loglinear/test/feature_test.py b/appengine/findit/crash/loglinear/test/feature_test.py
index 1d341806a8d42b21b8227adef3ad4b524497083e..fd3242ce24c13749c83fd0d934fb910932331009 100644
--- a/appengine/findit/crash/loglinear/test/feature_test.py
+++ b/appengine/findit/crash/loglinear/test/feature_test.py
@@ -55,7 +55,7 @@ class MetaFeatureValueTest(unittest.TestCase):
super(MetaFeatureValueTest, self).setUp()
self.feature = MetaFeatureValue(
'dummy', {feature.name: feature(3)(False)
- for feature in [Feature0(), Feature1()]})
+ for feature in [Feature0(), Feature1(), Feature3()]})
def testEqaul(self):
"""Tests overriding ``__eq__`` and ``__ne__``."""
@@ -66,7 +66,7 @@ class MetaFeatureValueTest(unittest.TestCase):
def testLen(self):
"""Tests overriding ``__len__``."""
- self.assertEqual(len(self.feature), 2)
+ self.assertEqual(len(self.feature), 3)
def testFormatReasons(self):
"""Tests ``FormatReasons`` returnes a list of formated reasons."""
« no previous file with comments | « appengine/findit/crash/loglinear/test/changelist_classifier_test.py ('k') | appengine/findit/crash/predator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698