def test_boolean_value():
    success_list = range(200, 207)
    for code in RESPONSE_CODES:
        response = CalvinResponse(code)
        if code in success_list:
            assert response
        else:
            assert not response
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/tests/test_calvinresponse.py/test_boolean_value/original