From: Sage Weil Date: Fri, 16 Dec 2016 23:16:58 +0000 (-0500) Subject: suite: fix shorthand repo name tests X-Git-Tag: 1.1.0~309^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2a65a78a465fc0d3a3b2eaa6fc44dd8937ae9efe;p=teuthology.git suite: fix shorthand repo name tests - .git extension isn't magically preserved. (Note that on github it isn't needed.) - No special handling for trailing /. Signed-off-by: Sage Weil --- diff --git a/teuthology/suite/test/test_init.py b/teuthology/suite/test/test_init.py index c347141e1..8a8622e54 100644 --- a/teuthology/suite/test/test_init.py +++ b/teuthology/suite/test/test_init.py @@ -107,7 +107,7 @@ REPO_SHORTHAND = [ ['https://github.com/dude/foo', 'bar', 'https://github.com/dude/bar'], ['https://github.com/dude/foo/', 'bar', - 'https://github.com/dude/bar/'], + 'https://github.com/dude/foo/bar'], ['https://github.com/ceph/ceph', 'ceph', 'https://github.com/ceph/ceph'], ['https://github.com/ceph/ceph', 'ceph-ci', @@ -115,11 +115,11 @@ REPO_SHORTHAND = [ ['https://github.com/ceph/ceph-ci', 'ceph', 'https://github.com/ceph/ceph'], ['git://git.ceph.com/ceph.git', 'ceph', - 'git://git.ceph.com/ceph.git'], + 'git://git.ceph.com/ceph'], ['git://git.ceph.com/ceph.git', 'ceph-ci', - 'git://git.ceph.com/ceph-ci.git'], + 'git://git.ceph.com/ceph-ci'], ['git://git.ceph.com/ceph-ci.git', 'ceph', - 'git://git.ceph.com/ceph.git'], + 'git://git.ceph.com/ceph'], ]