@staticmethod
    def test_column_construction():
        column = Column(
            column_name='test',
            column_type='INTEGER',
            encoding='lzo',
            fk_reference='test_fk_column',
            fk_table='test_fk_table',
            is_distkey=True,
            is_sortkey=True,
            is_primarykey=True,
            is_null=False,
            is_not_null=True,
            position=1,
        )
        eq_(column.column_name, 'test')
        eq_(column.name, 'test')
        eq_(column.column_type, 'INTEGER')
        eq_(column.encoding, 'lzo')
        eq_(column.fk_reference, 'test_fk_column')
        eq_(column.fk_table, 'test_fk_table')
        eq_(column.is_distkey, True)
        eq_(column.is_sortkey, True)
        eq_(column.is_primarykey, True)
        eq_(column.is_null, False)
        eq_(column.is_not_null, True)
        eq_(column.position, 1)
Return pretty-printed XML (as unicode text) from this package item's
dataset/ETHPy150Open coursera/dataduct/dataduct/database/tests/test_column.py/TestColumn.test_column_construction--crossover with--dataset/ETHPy150Open python-openxml/opc-diag/opcdiag/presenter.py/ItemPresenter.xml