def test_specifies_host_port_with_host_ip_no_port_range(self):
    service = Service('foo', image='foo', ports=['127.0.0.1::2000-3000'])
    assert (not service.specifies_host_port())
def test_specifies_host_port_with_host_ip_no_port_range(self):
    service = Service('foo', image='foo', ports=['127.0.0.1::2000-3000'])
    assert (not service.specifies_host_port())