@parametrize('table', tables.mapped_classes)
def test_identifiers_with_names(table):
 for translation_class in table.translation_classes:
  if hasattr(translation_class, 'name'):
   assert hasattr(table, 'identifier'), table

@ parametrize ( 'table' , tables . mapped_classes ) def test_identifiers_with_names ( table ) : for translation_class in table . translation_classes : if hasattr ( translation_class , 'name' ) : assert hasattr ( table , 'identifier' ) , table
test that named tables have identifiers .