django/tests/utils_tests/test_module/another_bad_module.py

9 lines
139 B
Python

from . import site
content = 'Another Bad Module'
site._registry.update({
'foo': 'bar',
})
raise Exception('Some random exception.')