def testColumnAlignmentForPropertyNotInContainer(self):
        t = TableGenerator.createTableWithDefaultContainer(3, 7)
        defaultAlignments = [Table.ALIGN_LEFT, Table.ALIGN_LEFT,
                Table.ALIGN_LEFT]

        try:
            t.setColumnAlignment('Property 1200', Table.ALIGN_LEFT)
            # FIXME: Uncomment as there should be an exception (#6475)
            #self.fail("No exception thrown for property not in container")
        except __HOLE__:
            pass  # Ok, expected

        self.assertEquals(defaultAlignments, t.getColumnAlignments(),
                'Invalid change affected alignments')

        # FIXME: Uncomment as null should be returned (#6474)
        # self.assertEquals(
        # None, t.getColumnAlignment("Property 1200"),
        # "Column alignment for property not in container returned")
dataset/ETHPy150Open rwl/muntjac/muntjac/test/server/component/table/table_column_alignments.py/TableColumnAlignments.testColumnAlignmentForPropertyNotInContainer