def test_set_cookie_headers():
    """
    Expect to create headers to set cookies.
    """

    headers = set_cookie_headers({'theme': 'light'})
    assert isinstance(headers, list)
    assert headers[0][0] == 'Set-Cookie'
    assert 'theme=light' in headers[0][1]
    assert 'Path=/' in headers[0][1]
    assert headers[0][1] in 'HttpOnly'
dataset/ETHPy150Open heiskr/sagefy/server/test/test_framework_index.py/test_set_cookie_headers/swapped operands of `in`