stop relying on person cube, it isn't needed stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 24 Sep 2010 18:20:16 +0200
branchstable
changeset 6337 6686ca1826a9
parent 6336 ae80aed607f2
child 6338 b520b86113e3
stop relying on person cube, it isn't needed
test/data/rewrite/bootstrap_cubes
test/data/rewrite/schema.py
test/unittest_rqlrewrite.py
--- a/test/data/rewrite/bootstrap_cubes	Fri Sep 24 12:54:20 2010 +0200
+++ b/test/data/rewrite/bootstrap_cubes	Fri Sep 24 18:20:16 2010 +0200
@@ -1,1 +1,1 @@
-card, person
+card
--- a/test/data/rewrite/schema.py	Fri Sep 24 12:54:20 2010 +0200
+++ b/test/data/rewrite/schema.py	Fri Sep 24 18:20:16 2010 +0200
@@ -49,7 +49,7 @@
 
 
 class require_permission(RelationDefinition):
-    subject = ('Card', 'Note', 'Person')
+    subject = ('Card', 'Note')
     object = 'CWPermission'
 
 
--- a/test/unittest_rqlrewrite.py	Fri Sep 24 12:54:20 2010 +0200
+++ b/test/unittest_rqlrewrite.py	Fri Sep 24 18:20:16 2010 +0200
@@ -15,9 +15,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""
 
-"""
 from logilab.common.testlib import unittest_main, TestCase
 from logilab.common.testlib import mock_object
 from yams import BadSchemaDefinition