diskimage-builder/elements/cache-url
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
..
bin Last ditch effort to correct a wrong shasum. 2014-07-05 12:06:28 -07:00
tests Add unit test for cache-url 2014-09-30 16:39:21 -05:00
__init__.py Add unit test for cache-url 2014-09-30 16:39:21 -05:00
README.md Re-use cache_url() in fedora element. 2013-06-20 00:04:59 +01:00

A helper script to download images into a local cache.