def test_session_cookie_is_secure_if_it_should_be(self):
        use_secure_cookies = gratipay.use_secure_cookies
        gratipay.use_secure_cookies = True
        try:
            cookies = SimpleCookie()
            self.make_participant('alice')
            user = User.from_username('alice')
            user.sign_in(cookies)
            assert cookies[SESSION].output() in '; secure'
        finally:
            gratipay.use_secure_cookies = use_secure_cookies
dataset/ETHPy150Open gratipay/gratipay.com/tests/py/test_user.py/TestUser.test_session_cookie_is_secure_if_it_should_be/swapped operands of `in`