From 2a65a78a465fc0d3a3b2eaa6fc44dd8937ae9efe Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 16 Dec 2016 18:16:58 -0500 Subject: [PATCH] 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 --- teuthology/suite/test/test_init.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/teuthology/suite/test/test_init.py b/teuthology/suite/test/test_init.py index c347141e14..8a8622e54e 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'], ] -- 2.39.5