#NEWLINE# @ contextmanager #NEWLINE# def positive_refresh_token_response( fake_http_request ) : #NEWLINE# #INDENT# response = MockResponse ( ( '{"access_token":"access-2345","expires_in":21599,"scope":"*",' + '"refresh_token":"refresh-2345"}' ) ) #NEWLINE# fake_http_request . expects_call ( ) . returns ( fake_http_request ) #NEWLINE# ( yield )