def test_http_client():
    dinergate = Mock()
    with patch("requests.Session") as Session:
        instance = Session.return_value
        http_client = HTTPClientProperty(session_class=Session)
        assert http_client.provide_value(dinergate) not in instance
        Session.assert_called_once_with()
dataset/ETHPy150Open douban/brownant/tests/test_pipeline/test_network.py/test_http_client/operator `is` -> `not in`