summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_testing.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-11-09 02:02:26 +0000
committerChris McDonough <chrism@agendaless.com>2008-11-09 02:02:26 +0000
commit516729ac8976a6e9ab3c43cef7b754ec6a7518a3 (patch)
treed2526a216843b82d6387f3c6952f3372244feaa0 /repoze/bfg/tests/test_testing.py
parenta9a8a2dcfa3381ee9da3550f84dcadd55825e1d4 (diff)
downloadpyramid-516729ac8976a6e9ab3c43cef7b754ec6a7518a3.tar.gz
pyramid-516729ac8976a6e9ab3c43cef7b754ec6a7518a3.tar.bz2
pyramid-516729ac8976a6e9ab3c43cef7b754ec6a7518a3.zip
Minor tweaks.
Diffstat (limited to 'repoze/bfg/tests/test_testing.py')
-rw-r--r--repoze/bfg/tests/test_testing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/repoze/bfg/tests/test_testing.py b/repoze/bfg/tests/test_testing.py
index 6d133ee93..03f5bd938 100644
--- a/repoze/bfg/tests/test_testing.py
+++ b/repoze/bfg/tests/test_testing.py
@@ -290,10 +290,10 @@ class TestDummyRequest(unittest.TestCase):
return self._getTargetClass()(*arg, **kw)
def test_it(self):
- request = self._makeOne('/abc',
- params = {'say':'Hello'},
+ request = self._makeOne(params = {'say':'Hello'},
environ = {'PATH_INFO':'/foo'},
headers = {'X-Foo':'YUP'},
+ path = '/abc',
water = 1)
self.assertEqual(request.path, '/abc')
self.assertEqual(request.params['say'], 'Hello')