def _create_model(self) -> InternalIdModel: return create_stub_multiplexed_library()
def test_convert_multiplexed_library(self): alchemy_model = convert_to_sqlalchemy_model(create_stub_multiplexed_library()) converted_model = convert_to_popo_model(alchemy_model) # type: MultiplexedLibrary self.assertEqual(converted_model.__class__, MultiplexedLibrary) self.assertEqual(converted_model.internal_id, INTERNAL_ID) self.assertEqual(converted_model.name, NAME)