equal
deleted
inserted
replaced
1 # copyright 2003-2017 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
1 # copyright 2003 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # |
3 # |
4 # This file is part of CubicWeb. |
4 # This file is part of CubicWeb. |
5 # |
5 # |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
726 'sender', 'in_thread', 'reply_to'): |
726 'sender', 'in_thread', 'reply_to'): |
727 self.assertNotIn(ertype, schema) |
727 self.assertNotIn(ertype, schema) |
728 finally: |
728 finally: |
729 mh.cmd_add_cube('fakeemail') |
729 mh.cmd_add_cube('fakeemail') |
730 self.assertIn('fakeemail', self.config.cubes()) |
730 self.assertIn('fakeemail', self.config.cubes()) |
731 # trick: overwrite self.maxeid to avoid deletion of just reintroduced |
|
732 # types (and their associated tables!) |
|
733 self.maxeid = cnx.execute('Any MAX(X)')[0][0] # XXXXXXX KILL KENNY |
|
734 # why this commit is necessary is unclear to me (though without it |
731 # why this commit is necessary is unclear to me (though without it |
735 # next test may fail complaining of missing tables |
732 # next test may fail complaining of missing tables |
736 cnx.commit() |
733 cnx.commit() |
737 |
734 |
738 def test_drop_dep_cube(self): |
735 def test_drop_dep_cube(self): |