--- a/server/test/unittest_rql2sql.py Wed Sep 23 19:16:51 2009 +0200
+++ b/server/test/unittest_rql2sql.py Wed Sep 23 19:23:09 2009 +0200
@@ -34,6 +34,7 @@
config.bootstrap_cubes()
schema = config.load_schema()
schema['in_state'].inlined = True
+schema['state_of'].inlined = False
schema['comments'].inlined = False
PARSER = [
--- a/server/test/unittest_security.py Wed Sep 23 19:16:51 2009 +0200
+++ b/server/test/unittest_security.py Wed Sep 23 19:23:09 2009 +0200
@@ -504,7 +504,7 @@
aff.fire_transition('abort')
cnx.commit()
# though changing a user state (even logged user) is reserved to managers
- user = cnx.user(self.current_session())
+ user = cnx.user(self.session)
# XXX wether it should raise Unauthorized or ValidationError is not clear
# the best would probably ValidationError if the transition doesn't exist
# from the current state but Unauthorized if it exists but user can't pass it