]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Revert changes to scripts/test/test_suite.py
authorZack Cerza <zack@redhat.com>
Fri, 16 Dec 2016 22:12:23 +0000 (15:12 -0700)
committerZack Cerza <zack@redhat.com>
Fri, 16 Dec 2016 22:12:23 +0000 (15:12 -0700)
This should be squashed when everything else is ready.

scripts/test/test_suite.py

index 79ed4a01f794bb775282f1b310b632169bb550be..062aba470d7b234b10a474ec58fb0ea5cf2670e4 100644 (file)
@@ -1,22 +1,5 @@
-import docopt
 from script import Script
-from scripts import suite
-
-doc = suite.__doc__
 
 
 class TestSuite(Script):
     script_name = 'teuthology-suite'
-
-    def test_repo(self):
-        assert suite.expand_short_repo_name('foo', 'https://github.com/ceph/ceph-ci.git') == 'https://github.com/ceph/foo'
-        assert suite.expand_short_repo_name('foo/bar', 'https://github.com/ceph/ceph-ci.git') == 'https://github.com/foo/bar'
-    
-    def test_args(self):
-        args = docopt.docopt(doc, [
-            "--ceph-repo", "foo",
-            "--suite-repo", "foo/bar"
-        ])
-        conf = suite.process_args(args)
-        assert args["ceph_repo"] == "https://github.com/ceph/foo"
-        assert args["suite_repo"] == "https://github.com/foo/bar"