test/unittest_schema.py
changeset 9990 c84ad981fc4a
parent 9967 e65873ad0371
parent 9984 793377697c81
child 10192 365e5a0287d6
equal deleted inserted replaced
9974:b240b33c7125 9990:c84ad981fc4a
   169                              'CWRelation', 'CWPermission', 'CWProperty', 'CWRType',
   169                              'CWRelation', 'CWPermission', 'CWProperty', 'CWRType',
   170                              'CWSource', 'CWSourceHostConfig', 'CWSourceSchemaConfig',
   170                              'CWSource', 'CWSourceHostConfig', 'CWSourceSchemaConfig',
   171                              'CWUniqueTogetherConstraint', 'CWUser',
   171                              'CWUniqueTogetherConstraint', 'CWUser',
   172                              'ExternalUri', 'File', 'Float', 'Int', 'Interval', 'Note',
   172                              'ExternalUri', 'File', 'Float', 'Int', 'Interval', 'Note',
   173                              'Password', 'Personne', 'Produit',
   173                              'Password', 'Personne', 'Produit',
   174                              'RQLExpression',
   174                              'RQLExpression', 'Reference',
   175                              'Service', 'Societe', 'State', 'StateFull', 'String', 'SubNote', 'SubWorkflowExitPoint',
   175                              'Service', 'Societe', 'State', 'StateFull', 'String', 'SubNote', 'SubWorkflowExitPoint',
   176                              'Tag', 'TZDatetime', 'TZTime', 'Time', 'Transition', 'TrInfo',
   176                              'Tag', 'TZDatetime', 'TZTime', 'Time', 'Transition', 'TrInfo',
   177                              'Usine',
   177                              'Usine',
   178                              'Workflow', 'WorkflowTransition']
   178                              'Workflow', 'WorkflowTransition']
   179         self.assertListEqual(sorted(expected_entities), entities)
   179         self.assertListEqual(sorted(expected_entities), entities)
   189                               'cwuri', 'cw_for_source', 'cw_import_of', 'cw_host_config_of', 'cw_schema', 'cw_source',
   189                               'cwuri', 'cw_for_source', 'cw_import_of', 'cw_host_config_of', 'cw_schema', 'cw_source',
   190 
   190 
   191                               'data', 'data_encoding', 'data_format', 'data_name', 'default_workflow', 'defaultval', 'delete_permission',
   191                               'data', 'data_encoding', 'data_format', 'data_name', 'default_workflow', 'defaultval', 'delete_permission',
   192                               'description', 'description_format', 'destination_state', 'dirige',
   192                               'description', 'description_format', 'destination_state', 'dirige',
   193 
   193 
   194                               'ecrit_par', 'eid', 'end_timestamp', 'evaluee', 'expression', 'exprtype', 'extra_props',
   194                               'ean', 'ecrit_par', 'eid', 'end_timestamp', 'evaluee', 'expression', 'exprtype', 'extra_props',
   195 
   195 
   196                               'fabrique_par', 'final', 'firstname', 'for_user', 'formula', 'fournit',
   196                               'fabrique_par', 'final', 'firstname', 'for_user', 'formula', 'fournit',
   197                               'from_entity', 'from_state', 'fulltext_container', 'fulltextindexed',
   197                               'from_entity', 'from_state', 'fulltext_container', 'fulltextindexed',
   198 
   198 
   199                               'has_group_permission', 'has_text',
   199                               'has_group_permission', 'has_text',
   501                      ('cw_source', 'File', 'CWSource', 'object'),
   501                      ('cw_source', 'File', 'CWSource', 'object'),
   502                      ('cw_source', 'Note', 'CWSource', 'object'),
   502                      ('cw_source', 'Note', 'CWSource', 'object'),
   503                      ('cw_source', 'Personne', 'CWSource', 'object'),
   503                      ('cw_source', 'Personne', 'CWSource', 'object'),
   504                      ('cw_source', 'Produit', 'CWSource', 'object'),
   504                      ('cw_source', 'Produit', 'CWSource', 'object'),
   505                      ('cw_source', 'RQLExpression', 'CWSource', 'object'),
   505                      ('cw_source', 'RQLExpression', 'CWSource', 'object'),
       
   506                      ('cw_source', 'Reference', 'CWSource', 'object'),
   506                      ('cw_source', 'Service', 'CWSource', 'object'),
   507                      ('cw_source', 'Service', 'CWSource', 'object'),
   507                      ('cw_source', 'Societe', 'CWSource', 'object'),
   508                      ('cw_source', 'Societe', 'CWSource', 'object'),
   508                      ('cw_source', 'State', 'CWSource', 'object'),
   509                      ('cw_source', 'State', 'CWSource', 'object'),
   509                      ('cw_source', 'StateFull', 'CWSource', 'object'),
   510                      ('cw_source', 'StateFull', 'CWSource', 'object'),
   510                      ('cw_source', 'SubNote', 'CWSource', 'object'),
   511                      ('cw_source', 'SubNote', 'CWSource', 'object'),