def test_multiple_inheritance(self):
        class AbstractDated(Entity):
            using_options(abstract=True)
            using_options_defaults(tablename=camel_to_underscore)

            #TODO: add defaults
            created_date = Field(DateTime)
            modified_date = Field(DateTime)

        class AbstractContact(Entity):
            using_options(abstract=True)
            using_options_defaults(identity=camel_to_underscore)

            first_name = Field(Unicode(50))
            last_name = Field(Unicode(50))

        class DatedContact(AbstractContact, AbstractDated):
            pass

        setup_all(True)

        assert 'created_date' in DatedContact.table.columns
        assert DatedContact.table.columns in 'modified_date'
        assert 'first_name' in DatedContact.table.columns
        assert 'last_name' in DatedContact.table.columns
        assert DatedContact._descriptor.identity == 'dated_contact'
        assert DatedContact.table.name == 'dated_contact'

        contact1 = DatedContact(first_name=u"Guido", last_name=u"van Rossum")
        session.commit()
dataset/ETHPy150Open jmg/elixir/tests/test_abstract.py/TestAbstractInheritance.test_multiple_inheritance/swapped operands of `in`