TST: fix redundant partial

This commit is contained in:
Joe Jevnik
2016-01-29 19:24:17 -05:00
committed by Richard Frank
parent 23c9bb0a7f
commit e33cc25265
+1 -1
View File
@@ -266,7 +266,7 @@ class TestStatelessRules(RuleTestCase):
@subtest(minutes_for_days(), 'ms')
def test_Always(self, ms):
should_trigger = partial(Always().should_trigger, env=self.env)
self.assertTrue(all(map(partial(should_trigger, env=self.env), ms)))
self.assertTrue(all(map(should_trigger, ms)))
@subtest(minutes_for_days(), 'ms')
def test_Never(self, ms):