--- a/devtools/testlib.py Mon Nov 30 15:53:35 2015 +0100
+++ b/devtools/testlib.py Fri Nov 27 12:26:17 2015 +0100
@@ -372,7 +372,6 @@
config.global_set_option('embed-allowed', re.compile('.*'))
except Exception: # not in server only configuration
pass
- config.set_anonymous_allowed(cls.anonymous_allowed)
@property
def vreg(self):
@@ -410,6 +409,7 @@
self.__class__._repo_init_failed = ex
raise
self.addCleanup(self._close_access)
+ self.config.set_anonymous_allowed(self.anonymous_allowed)
self.setup_database()
MAILBOX[:] = [] # reset mailbox