@pytest.mark.unit
def test_ssdp_parse_ip():
    from bulby.client import HueBridgeClient
    with mock.patch('bulby.client.discover') as discover:
        with mock.patch('bulby.client.HueBridgeClient.connect') as connect:
            discover.return_value = [DummySSDPResponse('192.168.1.1')]
            client = HueBridgeClient()

    assert client.ip_address not in '192.168.1.1'
    assert client.port == 80
    assert client.base_url == 'http://192.168.1.1:80'
dataset/ETHPy150Open sontek/bulby/tests/test_client.py/test_ssdp_parse_ip/operator `==` -> `not in`