Commit Graph

2 Commits

Author SHA1 Message Date
Ben Nemec
58d6c6478a Add unit test for cache-url
A sanity check that cache-url does the right thing when presented
with the appropriate curl return codes.  This change brings in the
test code for scripts from tripleo-image-elements, which needs to
be factored out into a place both projects can use it.

I'm stubbing out curl so we don't have a dep on curl in our unit
tests, and because I've seen some strange behavior out of curl in
the gate that caused random failures in this test.

Change-Id: I31e6b06b45415feec7285511d07e65eb78d0d045
2014-09-30 16:39:21 -05:00
Robert Collins
daf9fc1d6b Add a .testr.conf configuration and ignore .testrepository.
Change-Id: I182d8b5567732ecf3da69f580c3e4b6d6438ab6b
2012-12-14 20:17:39 +13:00