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