Reviewed-by: Daniel Barboza <dhbarboza82(a)gmail.com>
Tested-by: Daniel Barboza <dhbarboza82(a)gmail.com>
On 07/17/2015 01:01 PM, Ramon Medeiros wrote:
> The last path was removed in the server.
>
> Signed-off-by: Ramon Medeiros <ramonn(a)linux.vnet.ibm.com>
> ---
> src/distros.d/fedora.json | 2 +-
> tests/test_rest.py | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/distros.d/fedora.json b/src/distros.d/fedora.json
> index bce72d6..164415d 100644
> --- a/src/distros.d/fedora.json
> +++ b/src/distros.d/fedora.json
> @@ -4,7 +4,7 @@
> "os_distro": "fedora",
> "os_arch": "x86_64",
> "os_version": "20",
> - "path":
>
"http://fedora.mirrors.tds.net/pub/fedora/releases/20/Live/x86_64/Fedora-Live-Desktop-x86_64-20-1.iso"
> + "path":
>
"http://mirrors.kernel.org/fedora/releases/21/Live/x86_64/Fedora-Live-KDE-x86_64-21-5.iso"
> },
> {
> "name": "Fedora 18 (PPC64)",
> diff --git a/tests/test_rest.py b/tests/test_rest.py
> index c2d142f..a969942 100644
> --- a/tests/test_rest.py
> +++ b/tests/test_rest.py
> @@ -645,8 +645,8 @@ class RestTests(unittest.TestCase):
> os.remove('/tmp/existent.iso')
> # Change path of storage cdrom
> - cdrom =
>
u'http://fedora.mirrors.tds.net/pub/fedora/releases/20/'\
> - 'Live/x86_64/Fedora-Live-Desktop-x86_64-20-1.iso'
> + cdrom =
>
u'http://mirrors.kernel.org/fedora/releases/21/Live/x86_64/'\
> + 'Fedora-Live-KDE-x86_64-21-5.iso'
> req = json.dumps({'path': cdrom})
> resp = self.request('/vms/test-vm/storages/' + cd_dev,
> req, 'PUT')
> self.assertEquals(200, resp.status)