import unittest


from simphony.core.cuba import CUBA
from simphony.io.data_container_description import Record
from simphony.io.tests.abc_data_container_table_check import (
    ABCDataContainerTableCheck)


class TestDataContainerTable(
        ABCDataContainerTableCheck, unittest.TestCase):

    @property
    def record(self):
        return Record




if __name__ == '__main__':
    unittest.main()

@@ -14,44 +14,22 @@
 st%0A%0A
-%0Afrom simphony.core.cuba import CUBA
+import tables%0A
 %0Afro
@@ -190,148 +190,893 @@
 ass 
-TestDataContainerTable(%0A        ABCDataContainerTableCheck, unittest.TestCase):%0A%0A    @property%0A    def record(self):%0A        return Record%0A%0A
+CustomRecord(tables.IsDescription):%0A%0A    index = tables.StringCol(itemsize=16, pos=0)%0A%0A    class Data(tables.IsDescription):%0A%0A        name = tables.StringCol(pos=0, itemsize=20)%0A        direction = tables.Float64Col(pos=1, shape=3)%0A        status = tables.Int32Col(pos=2)%0A        label = tables.Int32Col(pos=3)%0A        material_id = tables.Int32Col(pos=4)%0A        chemical_specie = tables.StringCol(pos=5, itemsize=20)%0A        rolling_friction = tables.Float64Col(pos=64)%0A        volume_fraction = tables.Float64Col(pos=65)%0A%0A    mask = tables.BoolCol(pos=1, shape=(8,))%0A%0A%0Aclass TestDataContainerTable(%0A        ABCDataContainerTableCheck, unittest.TestCase):%0A%0A    @property%0A    def record(self):%0A        return Record%0A%0A%0Aclass TestDataContainerTableWithCustomRecord(%0A        ABCDataContainerTableCheck, unittest.TestCase):%0A%0A    @property%0A    def record(self):%0A        return CustomRecord
 %0A%0A%0Ai

add testcase for using a custom records in DataContainerTable