diff --git a/tests/test_debug.py b/tests/test_debug.py index a15852449..50173f54c 100644 --- a/tests/test_debug.py +++ b/tests/test_debug.py @@ -82,3 +82,8 @@ def test_local_extraction(self): 'l_0_baz': missing, }) assert locals == {'foo': 13, 'bar': 99} + + def test_debug_info_contains_all_debuginfo(self, fs_env): + tmpl = fs_env.get_template('loop.html') + di = tmpl.debug_info + assert len(di) == 5