<s> import unittest <EOL> from django . conf import settings <EOL> class SettingsTests ( unittest . TestCase ) : <EOL> def test_settings_delete ( self ) : <EOL> settings . TEST = '<STR_LIT:test>' <EOL> self . assertEqual ( '<STR_LIT:test>' , settings . TEST ) <EOL> del settings . TEST <EOL> self . assertRaises ( AttributeError , getattr , settings , '<STR_LIT>' ) <EOL> def test_settings_delete_wrapped ( self ) : <EOL> self . assertRaises ( TypeError , delattr , settings , '<STR_LIT>' ) </s>
