From 1cd5984995fefa64bdb7bdd47e6e09e8d424f6d2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 22 Jun 2009 02:30:13 +0000 Subject: - The values of ``subpath``, ``traversed``, and ``virtual_root_path`` attached to the request object are always now tuples instead of lists (performance). --- repoze/bfg/testing.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'repoze/bfg/testing.py') diff --git a/repoze/bfg/testing.py b/repoze/bfg/testing.py index 19c462be4..52c383b65 100644 --- a/repoze/bfg/testing.py +++ b/repoze/bfg/testing.py @@ -383,11 +383,12 @@ class DummyRequest: self.path_qs = '' self.body = '' self.view_name = '' - self.subpath = [] - self.traversed = None - self.virtual_root = None - self.virtual_root_path = None + self.subpath = () + self.traversed = () + self.virtual_root_path = () self.context = None + self.root = None + self.virtual_root = None self.marshalled = params # repoze.monty self.__dict__.update(kw) -- cgit v1.2.3