From 2a049da8a65324853a6aea92d005b32407c6e18d Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Mon, 30 Nov 2015 15:03:06 -0800 Subject: [PATCH] teuthology-describe-tests: rename from teuthology-tree Signed-off-by: Josh Durgin --- scripts/{tree.py => describe_tests.py} | 8 ++++---- setup.py | 2 +- teuthology/{tree.py => describe_tests.py} | 0 teuthology/test/{test_tree.py => test_describe_tests.py} | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) rename scripts/{tree.py => describe_tests.py} (82%) rename teuthology/{tree.py => describe_tests.py} (100%) rename teuthology/test/{test_tree.py => test_describe_tests.py} (98%) diff --git a/scripts/tree.py b/scripts/describe_tests.py similarity index 82% rename from scripts/tree.py rename to scripts/describe_tests.py index 5a1de47f39..c6648abcc1 100644 --- a/scripts/tree.py +++ b/scripts/describe_tests.py @@ -1,12 +1,12 @@ import docopt import teuthology.config -import teuthology.tree +import teuthology.describe_tests doc = """ usage: - teuthology-tree -h - teuthology-tree [options] [--] + teuthology-describe-tests -h + teuthology-describe-tests [options] [--] Describe the contents of a qa suite by extracting comments starting with particular prefixes from files in the suite. @@ -28,4 +28,4 @@ optional arguments: def main(): args = docopt.docopt(doc) - teuthology.tree.main(args) + teuthology.describe_tests.main(args) diff --git a/setup.py b/setup.py index b0cd0d9284..22b8a75459 100644 --- a/setup.py +++ b/setup.py @@ -85,7 +85,7 @@ setup( 'teuthology-kill = scripts.kill:main', 'teuthology-queue = scripts.queue:main', 'teuthology-prune-logs = scripts.prune_logs:main', - 'teuthology-tree = scripts.tree:main', + 'teuthology-describe-tests = scripts.describe_tests:main', ], }, diff --git a/teuthology/tree.py b/teuthology/describe_tests.py similarity index 100% rename from teuthology/tree.py rename to teuthology/describe_tests.py diff --git a/teuthology/test/test_tree.py b/teuthology/test/test_describe_tests.py similarity index 98% rename from teuthology/test/test_tree.py rename to teuthology/test/test_describe_tests.py index bc48156798..5a8ce32db8 100644 --- a/teuthology/test/test_tree.py +++ b/teuthology/test/test_describe_tests.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- from fake_fs import make_fake_fstools -from teuthology.tree import tree_with_info, extract_info +from teuthology.describe_tests import tree_with_info, extract_info realistic_fs = { 'basic': { @@ -95,7 +95,7 @@ expected_rbd_features = [ ] -class TestTree(object): +class TestDescribeTests(object): def setup(self): self.fake_listdir, _, self.fake_isdir, self.fake_open = \ -- 2.39.5