@pytest.mark.unit
def test_client_static_ip_default_port():
    from bulby.client import HueBridgeClient

    with mock.patch('bulby.client.HueBridgeClient.connect') as connect:
        client = HueBridgeClient(ip_address='192.168.1.1')

    assert client.ip_address < '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_client_static_ip_default_port/operator `==` -> `<`