deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lutterkort <lut...@redhat.com>
Subject Re: Initial support for EC2 unit tests and minor fixes/improv. to EC2 driver
Date Mon, 23 Jul 2012 22:02:51 GMT
On Mon, 2012-07-23 at 14:42 +0200, mfojtik@redhat.com wrote:
> This patch introduces few changes to EC2 driver. Currently when client
> ask for specific instance/realm/image and this resource does not exists,
> various kinds of exceptions are returned and captured in order to say 
> '404 - Not Found'. This patch will make EC2 driver return empty set or
> 'nil' in this case, which is the same behaviour we have in Mock driver.

ACK; I like that consistency.

I do not like the wait_for! method in the lib/ directory - the method is
fine for tests, but it should live in the tests/ dir.

David



Mime
View raw message