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

from __future__ import division
from __future__ import print_function
from __future__ import absolute_import

# pylint: disable=protected-access,too-many-public-methods

from hamcrest import is_
from hamcrest import assert_that

import unittest

from zope.dottedname import resolve as dottedname


class TestInterfaces(unittest.TestCase):

    def test_import_interfaces(self):
        dottedname.resolve('nti.ntiids.interfaces')

    def test_tuple(self):
        from nti.ntiids.interfaces import ITuple
        assert_that(ITuple.providedBy(tuple()), is_(True))

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

from __future__ import division
from __future__ import print_function
from __future__ import absolute_import

# pylint: disable=protected-access,too-many-public-methods

from hamcrest import is_
from hamcrest import assert_that

import unittest

from zope.dottedname import resolve as dottedname


class TestInterfaces(unittest.TestCase):

    def test_import_interfaces(self):
        dottedname.resolve('nti.ntiids.interfaces')

    def test_tuple(self):
        from nti.ntiids.interfaces import ITuple
        assert_that(ITuple.providedBy(tuple()), is_(True))

#!/usr/bin/env python # -*- coding: utf-8 -*- # pylint: disable=protected-access,too-many-public-methods