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