# Path: fofix/core/constants.py
# def isTrue(value):
#     """ Check if the value looks like True """
#     return value in ["1", "true", "yes", "on"]


import unittest
from fofix.core.constants import isTrue
#!/usr/bin/python
# -*- coding: utf-8 -*-




class ConstantsTest(unittest.TestCase):

    def test_istrue(self):
        # true values
        self.assertTrue(isTrue("1"))

# Path: fofix/core/constants.py
# def isTrue(value):
#     """ Check if the value looks like True """
#     return value in ["1", "true", "yes", "on"]


# Path: fofix/tests/core/test_constants.py
import unittest
from fofix.core.constants import isTrue

#!/usr/bin/python
# -*- coding: utf-8 -*-




class ConstantsTest(unittest.TestCase):

    def test_istrue(self):
        # true values
        self.assertTrue(isTrue("1"))

        self.assertTrue(isTrue("true"))