Example #1
0
 def test_render(self):
     self.assertTrue(self.rule.render())
     self.assertFalse(self.rule.render(False))
     rule = ops._FindRule(exclude=True)
     self.assertFalse(rule.render())
     self.assertTrue(rule.render(False))
Example #2
0
 def test_render(self):
     self.assertTrue(self.rule.render())
     self.assertFalse(self.rule.render(False))
     rule = ops._FindRule(exclude=True)
     self.assertFalse(rule.render())
     self.assertTrue(rule.render(False))
Example #3
0
 def setUp(self):
     self.rule = ops._FindRule()
Example #4
0
 def setUp(self):
     self.rule = ops._FindRule()