Chris McDonough
2011-01-21 2a13b0dff000c5cd766299c52d495d82e3ec83b7
refs
author Chris McDonough <chrism@plope.com>
Friday, January 21, 2011 10:38 +0100
committer Chris McDonough <chrism@plope.com>
Friday, January 21, 2011 10:38 +0100
commit2a13b0dff000c5cd766299c52d495d82e3ec83b7
tree 3e154a67c3e0adcfaf76542d611c9a370427b7e3 tree | zip | gz
parent beff12f0668f2f3b17fb07a65c09bc3e7af7cd0b view | diff
- ``testing.setUp`` now adds a ``settings`` attribute to the registry (both
when it's passed a registry without any settings and when it creates one).

- The ``testing.setUp`` function now takes a ``settings`` argument, which
should be a dictionary. Its values will subsequently be available on the
returned ``config`` object as ``config.registry.settings``.
5 files modified
48 ■■■■■ changed files
CHANGES.txt 10 ●●●●● diff | view | raw | blame | history
pyramid/renderers.py 2 ●●● diff | view | raw | blame | history
pyramid/testing.py 10 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_settings.py 2 ●●● diff | view | raw | blame | history
pyramid/tests/test_testing.py 24 ●●●●● diff | view | raw | blame | history