Example #1
0
def test_end_session():
    response = Response("")
    assert response.end_session == True
    assert response._dict["response"]["shouldEndSession"] == True

    response.end_session = False
    assert response.end_session == False
    assert response._dict["response"]["shouldEndSession"] == False
Example #2
0
def test_end_session():
    response = Response("")
    response.end_session = True
    assert response.end_session == True