<s> import corehq . apps . ivr . tests . util as util <EOL> from django . test import Client <EOL> import json <EOL> class TropoLogCallTestCase ( util . LogCallTestCase ) : <EOL> def simulate_inbound_call ( self , phone_number ) : <EOL> return Client ( ) . post ( <EOL> '<STR_LIT>' , <EOL> json . dumps ( { '<STR_LIT>' : { '<STR_LIT>' : { '<STR_LIT:id>' : phone_number } } } ) , <EOL> content_type = '<STR_LIT:application/json>' <EOL> ) <EOL> def check_response ( self , response ) : <EOL> self . assertEqual ( response . status_code , <NUM_LIT:200> ) <EOL> self . assertEqual ( response . content , '<STR_LIT>' ) </s>
