<s> class MockResponse : <EOL> def __init__ ( self , code = <NUM_LIT:200> , data = None ) : <EOL> self . code = code <EOL> self . data = data <EOL> def getcode ( self ) : <EOL> return self . code <EOL> def read ( self ) : <EOL> return self . data <EOL> def close ( self ) : <EOL> pass </s>
