def test_map_primary_key(self):
        dbmap = self.to_map([CREATE_PRIM_KEY])
        expmap = {'columns': [{'c1': {'type': 'integer', 'not_null': True}},
                              {'c2': {'type': 'text'}}],
                  'primary_key': {'t1_pkey': {'columns': ['c1'],
                                              'tablespace': 'ts1'}}}
        assert dbmap['schema public']['table t1'] == expmap
Receive notification of the beginning of a document.
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_tablespace.py/ToMapTestCase.test_map_primary_key--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/xml/sax/handler.py/ContentHandler.startDocument