projects
/
django-tables2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef6a67c
)
Fixed test that broke with recent Django SVN trunk. Django now seems to strictly...
author
Michael Elsdoerfer
<michael@elsdoerfer.info>
Fri, 8 Jan 2010 23:13:57 +0000
(
00:13
+0100)
committer
Michael Elsdoerfer
<michael@elsdoerfer.info>
Fri, 8 Jan 2010 23:13:57 +0000
(
00:13
+0100)
With this commit, all the tests pass with the latest Django trunk.
tests/test_templates.py
patch
|
blob
|
history
diff --git
a/tests/test_templates.py
b/tests/test_templates.py
index bc304e60f009dacb2e95011bd2107ba14517b46e..8ac15b7fc1454f6232b6a1466c723e4958d0cdde 100644
(file)
--- a/
tests/test_templates.py
+++ b/
tests/test_templates.py
@@
-106,4
+106,4
@@
def test_templatetags():
f2 = tables.Column()
\r
t = Template('{% set_url_param x=table.order_by %}')
\r
table = MyTable([], order_by=('f1', 'f2'))
\r
- assert t.render(
{'request': HttpRequest(), 'table': table}
) == '?x=f1%2Cf2'
\r
+ assert t.render(
Context({'request': HttpRequest(), 'table': table})
) == '?x=f1%2Cf2'
\r