<s> """<STR_LIT>""" <EOL> from __future__ import division , absolute_import <EOL> import string <EOL> from twisted . trial import unittest <EOL> from twisted . web import _responses <EOL> class ResponseTests ( unittest . TestCase ) : <EOL> def test_constants ( self ) : <EOL> """<STR_LIT>""" <EOL> for sym in dir ( _responses ) : <EOL> if sym == '<STR_LIT>' : <EOL> continue <EOL> if all ( ( c == '<STR_LIT:_>' or c in string . ascii_uppercase ) for c in sym ) : <EOL> val = getattr ( _responses , sym ) <EOL> self . assertIsInstance ( val , int ) <EOL> self . assertIn ( val , _responses . RESPONSES ) </s>
