Exemplo n.º 1
0
def test_temp_failure_telstra_callback(phone_number):
    data = json.loads(telstra_callback("1234", phone_number))
    assert data['to'] == phone_number
    assert data['deliveryStatus'] == "REJECTED"
Exemplo n.º 2
0
def test_delivered_telstra_callback(phone_number):
    data = json.loads(telstra_callback("1234", phone_number))
    assert data['to'] == phone_number
    assert data['deliveryStatus'] == "DELIVRD"