Exemplo n.º 1
0
    def test_false(self):
        """
        Test true condition.
        """

        result = _not(condition='true')
        self.assertFalse(result)
Exemplo n.º 2
0
    def test_true(self):
        """
        Test false condition.
        """

        result = _not(condition='false')
        self.assertTrue(result)
Exemplo n.º 3
0
    def test_empty(self):
        """
        Test empty condition.
        """

        result = _not()
        self.assertTrue(result)