<s> from os import path <EOL> from django . conf import settings <EOL> from openstack_dashboard . test import helpers as test <EOL> class ErrorPageTests ( test . TestCase ) : <EOL> """<STR_LIT>""" <EOL> urls = '<STR_LIT>' <EOL> def test_500_error ( self ) : <EOL> TEMPLATE_DIRS = ( path . join ( settings . ROOT_PATH , '<STR_LIT>' ) , ) <EOL> with self . settings ( TEMPLATE_DIRS = TEMPLATE_DIRS ) : <EOL> response = self . client . get ( '<STR_LIT>' ) <EOL> self . assertTrue ( '<STR_LIT>' in response . content ) </s>
