def test_domain_check(self):
        dbmap = self.to_map([CREATE_STMT + " CHECK (VALUE >= 1888)"])
        expmap = {'type': 'integer', 'check_constraints': {
            'd1_check': {'expression': '(VALUE >= 1888)'}}}
        assert dbmap['schema public']['domain d1'] == expmap
Find tests for the given object and any contained objects, and
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_domain.py/DomainToMapTestCase.test_domain_check--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/test/_doctest.py/DocTestFinder._find