]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
suite: fix shorthand repo name tests
authorSage Weil <sage@redhat.com>
Fri, 16 Dec 2016 23:16:58 +0000 (18:16 -0500)
committerSage Weil <sage@redhat.com>
Fri, 16 Dec 2016 23:16:58 +0000 (18:16 -0500)
- .git extension isn't magically preserved. (Note that on github it isn't
needed.)

- No special handling for trailing /.

Signed-off-by: Sage Weil <sage@redhat.com>
teuthology/suite/test/test_init.py

index c347141e14d024c456e98689a77e6eb53d41730a..8a8622e54e3a1f0df0881ad158ce25410049e3f4 100644 (file)
@@ -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'],
 ]