Pylons/pyramid — pull request #463 by dbaty (2012-03-06 16:57:34+00:00)
Title: Key and value are inverted in the assertion error message in "DummyTemplateRenderer.assert_()"

Currently, when using a dummy template renderer (`pyramid.testing.DummTemplateRenderer`), one gets the following assertion error message (when using the `assert_()` method):

AssertionError:
asserted value for 1: 'var'
actual value: 2

The key and its value are inverted. With the patch, we get the correct assertion error message:

AssertionError:
asserted value for var: 1
actual value: 2