167 'CWConstraintType', 'CWDataImport', 'CWEType', |
167 'CWConstraintType', 'CWDataImport', 'CWEType', |
168 'CWAttribute', 'CWGroup', 'EmailAddress', |
168 'CWAttribute', 'CWGroup', 'EmailAddress', |
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', 'FakeFile', 'Float', 'Int', 'Interval', 'Note', |
173 'Password', 'Personne', 'Produit', |
173 'Password', 'Personne', 'Produit', |
174 'RQLExpression', 'Reference', |
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', |
219 'upassword', 'update_permission', 'url', 'uri', 'use_email', |
219 'upassword', 'update_permission', 'url', 'uri', 'use_email', |
220 |
220 |
221 'value', |
221 'value', |
222 |
222 |
223 'wf_info_for', 'wikiid', 'workflow_of', 'tr_count'] |
223 'wf_info_for', 'wikiid', 'workflow_of', 'tr_count'] |
224 if config.cube_version('file') >= (1, 14, 0): |
|
225 expected_relations.append('data_sha1hex') |
|
226 |
224 |
227 self.assertListEqual(sorted(expected_relations), relations) |
225 self.assertListEqual(sorted(expected_relations), relations) |
228 |
226 |
229 eschema = schema.eschema('CWUser') |
227 eschema = schema.eschema('CWUser') |
230 rels = sorted(str(r) for r in eschema.subject_relations()) |
228 rels = sorted(str(r) for r in eschema.subject_relations()) |
508 ('cw_source', 'CWUniqueTogetherConstraint', 'CWSource', 'object'), |
506 ('cw_source', 'CWUniqueTogetherConstraint', 'CWSource', 'object'), |
509 ('cw_source', 'CWUser', 'CWSource', 'object'), |
507 ('cw_source', 'CWUser', 'CWSource', 'object'), |
510 ('cw_source', 'Card', 'CWSource', 'object'), |
508 ('cw_source', 'Card', 'CWSource', 'object'), |
511 ('cw_source', 'EmailAddress', 'CWSource', 'object'), |
509 ('cw_source', 'EmailAddress', 'CWSource', 'object'), |
512 ('cw_source', 'ExternalUri', 'CWSource', 'object'), |
510 ('cw_source', 'ExternalUri', 'CWSource', 'object'), |
513 ('cw_source', 'File', 'CWSource', 'object'), |
511 ('cw_source', 'FakeFile', 'CWSource', 'object'), |
514 ('cw_source', 'Note', 'CWSource', 'object'), |
512 ('cw_source', 'Note', 'CWSource', 'object'), |
515 ('cw_source', 'Personne', 'CWSource', 'object'), |
513 ('cw_source', 'Personne', 'CWSource', 'object'), |
516 ('cw_source', 'Produit', 'CWSource', 'object'), |
514 ('cw_source', 'Produit', 'CWSource', 'object'), |
517 ('cw_source', 'RQLExpression', 'CWSource', 'object'), |
515 ('cw_source', 'RQLExpression', 'CWSource', 'object'), |
518 ('cw_source', 'Reference', 'CWSource', 'object'), |
516 ('cw_source', 'Reference', 'CWSource', 'object'), |