def test_column_defaults(self):
        stmts = ["CREATE TABLE t1 (c1 INTEGER DEFAULT 12345, "
                 "c2 NUMERIC DEFAULT 98.76, c3 REAL DEFAULT 15e-2, "
                 "c4 TEXT DEFAULT 'Abc def', c5 DATE DEFAULT CURRENT_DATE, "
                 "c6 TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP, "
                 "c7 BOOLEAN DEFAULT FALSE)"]
        dbmap = self.to_map(stmts)
        expmap = {'columns': [
            {'c1': {'type': 'integer', 'default': '12345'}},
            {'c2': {'type': 'numeric', 'default': '98.76'}},
            {'c3': {'type': 'real', 'default': '0.15'}},
            {'c4': {'type': 'text', 'default': "'Abc def'::text"}},
            {'c5': {'type': 'date', 'default': "('now'::text)::date"}},
            {'c6': {'type': 'timestamp with time zone', 'default': 'now()'}},
            {'c7': {'type': 'boolean', 'default': 'false'}}]}
        assert dbmap['schema public']['table t1'] == expmap
Determine if client authentication is required for current request.
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_column.py/ColumnToMapTestCase.test_column_defaults--crossover with--dataset/ETHPy150Open codalab/codalab-cli/codalab/server/oauth2_provider.py/OAuth2RequestValidator.client_authentication_required