changeset 9674 | 96549de9dd70 |
parent 8930 | 6a02be304486 |
child 10609 | e2d8e81bfe68 |
--- a/devtools/test/unittest_dbfill.py Wed Apr 09 11:25:45 2014 +0200 +++ b/devtools/test/unittest_dbfill.py Tue Apr 08 17:39:39 2014 +0200 @@ -86,7 +86,7 @@ # Test for random index for index in range(5): cost_value = self.bug_valgen.generate_attribute_value({}, 'cost', index) - self.assertTrue(cost_value in range(index+1)) + self.assertIn(cost_value, range(index+1)) def test_date(self): """test date generation"""