def test_false(self): """ Test true condition. """ result = _not(condition='true') self.assertFalse(result)
def test_true(self): """ Test false condition. """ result = _not(condition='false') self.assertTrue(result)
def test_empty(self): """ Test empty condition. """ result = _not() self.assertTrue(result)