# Path: django_make_app/utils.py
# def is_callable(obj):
#     return hasattr(obj, '__call__')


import io
import os
from unittest import TestCase
from django_make_app.utils import is_callable
# -*- encoding: utf-8 -*-
# ! python2

from __future__ import (absolute_import, division, print_function, unicode_literals)




class UtilsTestCase(TestCase):
    def test_is_callable(self):
        self.assertTrue(is_callable(io.open))

# Path: django_make_app/utils.py
# def is_callable(obj):
#     return hasattr(obj, '__call__')


# Path: tests/test_utils.py
import io
import os
from unittest import TestCase
from django_make_app.utils import is_callable

# -*- encoding: utf-8 -*-
# ! python2

from __future__ import (absolute_import, division, print_function, unicode_literals)




class UtilsTestCase(TestCase):
    def test_is_callable(self):
        self.assertTrue(is_callable(io.open))

        self.assertTrue(is_callable(os.path.join))