server/test/unittest_migractions.py
changeset 9962 64b573d54133
parent 9961 cef58bd36f7b
child 9963 5531f5577b50
--- a/server/test/unittest_migractions.py	Thu Aug 28 07:49:31 2014 +0200
+++ b/server/test/unittest_migractions.py	Thu Aug 28 07:55:33 2014 +0200
@@ -703,6 +703,12 @@
                          'Cannot drop a relation definition for a computed '
                          'relation (notes)')
 
+    def test_computed_relation_drop_relation_type(self):
+        self.assertIn('notes', self.schema)
+        with self.mh() as (cnx, mh):
+            mh.cmd_drop_relation_type('notes')
+        self.assertNotIn('notes', self.schema)
+
 
 if __name__ == '__main__':
     unittest_main()