Example #1
0
 def test_filter_keeps_a_different_member(self):
     self.assertEqual(self.kept_too, exclude(self.kept_too))
Example #2
0
 def test_filter_keeps_a_member(self):
     self.assertEqual(self.kept, exclude(self.kept))
Example #3
0
 def test_filter_excludes_a_different_member(self):
     self.assertEqual(None, exclude(self.excluded_too))
Example #4
0
 def test_filter_excludes_a_member(self):
     self.assertEqual(None, exclude(self.excluded))