6 lines
191 B
Python
6 lines
191 B
Python
def test_render():
|
|
"""Test the render shortcut."""
|
|
from coffin.shortcuts import render
|
|
response = render(None, 'render-x.html', {'x': 'foo'})
|
|
assert response.content == 'foo'
|