Source code for portal_web.tests.unit.models.test_base

# For copyright and license terms, see COPYRIGHT.rst (top level of repository)
# Repository: https://github.com/C3S/portal_web

from trytond.pool import Pool
from ....models import Tdb


[docs] class TestTdb: """ Tdb test class """
[docs] def test_is_pool_a_pool_object(self): """ Is pool a Pool object? """ pool = Tdb.pool() assert isinstance(pool, Pool)