equal
deleted
inserted
replaced
701 mh.cmd_drop_relation_definition('Company', 'notes', 'Note') |
701 mh.cmd_drop_relation_definition('Company', 'notes', 'Note') |
702 self.assertEqual(str(exc.exception), |
702 self.assertEqual(str(exc.exception), |
703 'Cannot drop a relation definition for a computed ' |
703 'Cannot drop a relation definition for a computed ' |
704 'relation (notes)') |
704 'relation (notes)') |
705 |
705 |
|
706 def test_computed_relation_drop_relation_type(self): |
|
707 self.assertIn('notes', self.schema) |
|
708 with self.mh() as (cnx, mh): |
|
709 mh.cmd_drop_relation_type('notes') |
|
710 self.assertNotIn('notes', self.schema) |
|
711 |
706 |
712 |
707 if __name__ == '__main__': |
713 if __name__ == '__main__': |
708 unittest_main() |
714 unittest_main() |