Permalink
Browse files

Added test to check panel in event even if layout is None.

  • Loading branch information...
hirokiky committed Apr 6, 2013
1 parent 279c428 commit ac2950e653eebf8688e6ec3479551f8dcccd56de
Showing with 1 addition and 0 deletions.
  1. +1 −0 pyramid_layout/tests/test_config.py
@@ -67,6 +67,7 @@ def test_layout_none(self):
}
add_renderer_globals(event)
self.assertEqual(event.get('layout'), None)
+ self.assertIn('panel', event)
class Test_create_layout_manager(unittest.TestCase):

0 comments on commit ac2950e

Please sign in to comment.