Browse Source

fix test_signals

pull/1509/head
Alexander Pantyukhin 10 years ago committed by Markus Unterwaditzer
parent
commit
eae37b575d
  1. 2
      tests/test_signals.py

2
tests/test_signals.py

@ -86,7 +86,7 @@ def test_before_render_template_signal_not_None_result_render_skip_render_templa
flask.before_render_template.connect(record, app) flask.before_render_template.connect(record, app)
try: try:
rv = app.test_client().get('/') rv = app.test_client().get('/')
assert rv.data == 'Not template string' assert rv.data == b'Not template string'
finally: finally:
flask.before_render_template.disconnect(record, app) flask.before_render_template.disconnect(record, app)

Loading…
Cancel
Save