423 # file was there because it's an email dependancy, should have been removed |
423 # file was there because it's an email dependancy, should have been removed |
424 self.failIf('email' in self.config.cubes()) |
424 self.failIf('email' in self.config.cubes()) |
425 self.failIf(self.config.cube_dir('email') in self.config.cubes_path()) |
425 self.failIf(self.config.cube_dir('email') in self.config.cubes_path()) |
426 self.failIf('file' in self.config.cubes()) |
426 self.failIf('file' in self.config.cubes()) |
427 self.failIf(self.config.cube_dir('file') in self.config.cubes_path()) |
427 self.failIf(self.config.cube_dir('file') in self.config.cubes_path()) |
428 for ertype in ('Email', 'EmailThread', 'EmailPart', 'File', 'Image', |
428 for ertype in ('Email', 'EmailThread', 'EmailPart', 'File', |
429 'sender', 'in_thread', 'reply_to', 'data_format'): |
429 'sender', 'in_thread', 'reply_to', 'data_format'): |
430 self.failIf(ertype in schema, ertype) |
430 self.failIf(ertype in schema, ertype) |
431 self.assertEquals(sorted(schema['see_also'].rdefs.keys()), |
431 self.assertEquals(sorted(schema['see_also'].rdefs.keys()), |
432 sorted([('Folder', 'Folder'), |
432 sorted([('Folder', 'Folder'), |
433 ('Bookmark', 'Bookmark'), |
433 ('Bookmark', 'Bookmark'), |
446 self.mh.cmd_add_cube('email') |
446 self.mh.cmd_add_cube('email') |
447 self.failUnless('email' in self.config.cubes()) |
447 self.failUnless('email' in self.config.cubes()) |
448 self.failUnless(self.config.cube_dir('email') in self.config.cubes_path()) |
448 self.failUnless(self.config.cube_dir('email') in self.config.cubes_path()) |
449 self.failUnless('file' in self.config.cubes()) |
449 self.failUnless('file' in self.config.cubes()) |
450 self.failUnless(self.config.cube_dir('file') in self.config.cubes_path()) |
450 self.failUnless(self.config.cube_dir('file') in self.config.cubes_path()) |
451 for ertype in ('Email', 'EmailThread', 'EmailPart', 'File', 'Image', |
451 for ertype in ('Email', 'EmailThread', 'EmailPart', 'File', |
452 'sender', 'in_thread', 'reply_to', 'data_format'): |
452 'sender', 'in_thread', 'reply_to', 'data_format'): |
453 self.failUnless(ertype in schema, ertype) |
453 self.failUnless(ertype in schema, ertype) |
454 self.assertEquals(sorted(schema['see_also'].rdefs.keys()), |
454 self.assertEquals(sorted(schema['see_also'].rdefs.keys()), |
455 sorted([('EmailThread', 'EmailThread'), ('Folder', 'Folder'), |
455 sorted([('EmailThread', 'EmailThread'), ('Folder', 'Folder'), |
456 ('Bookmark', 'Bookmark'), |
456 ('Bookmark', 'Bookmark'), |