--- a/devtools/__init__.py Wed Mar 10 16:07:24 2010 +0100
+++ b/devtools/__init__.py Mon Mar 01 11:26:14 2010 +0100
@@ -106,8 +106,6 @@
self.init_log(log_threshold, force=True)
# need this, usually triggered by cubicweb-ctl
self.load_cwctl_plugins()
- self.global_set_option('anonymous-user', 'anon')
- self.global_set_option('anonymous-password', 'anon')
anonymous_user = TwistedConfiguration.anonymous_user.im_func
@@ -123,6 +121,8 @@
super(TestServerConfiguration, self).load_configuration()
self.global_set_option('anonymous-user', 'anon')
self.global_set_option('anonymous-password', 'anon')
+ # no undo support in tests
+ self.global_set_option('undo-support', '')
def main_config_file(self):
"""return instance's control configuration file"""