From db812ff1ee0e9af00b4b2df884e0b3ad6d904c4a Mon Sep 17 00:00:00 2001 From: lsankar4033 Date: Fri, 7 Aug 2020 13:45:08 -0700 Subject: [PATCH] scripts -> tests --- lib/runner.py | 4 ++-- {scripts => tests}/__init__.py | 0 {scripts => tests}/dv5/single_node.py | 0 {scripts => tests}/gossip/topic_membership.py | 0 {scripts => tests}/reqresp/blocks_by_range.py | 0 {scripts => tests}/reqresp/blocks_by_root.py | 0 {scripts => tests}/reqresp/metadata.py | 0 {scripts => tests}/reqresp/ping.py | 0 {scripts => tests}/reqresp/status.py | 0 {scripts => tests}/utils.py | 0 10 files changed, 2 insertions(+), 2 deletions(-) rename {scripts => tests}/__init__.py (100%) rename {scripts => tests}/dv5/single_node.py (100%) rename {scripts => tests}/gossip/topic_membership.py (100%) rename {scripts => tests}/reqresp/blocks_by_range.py (100%) rename {scripts => tests}/reqresp/blocks_by_root.py (100%) rename {scripts => tests}/reqresp/metadata.py (100%) rename {scripts => tests}/reqresp/ping.py (100%) rename {scripts => tests}/reqresp/status.py (100%) rename {scripts => tests}/utils.py (100%) diff --git a/lib/runner.py b/lib/runner.py index 41621a9..7a659d1 100644 --- a/lib/runner.py +++ b/lib/runner.py @@ -7,13 +7,13 @@ from lib.console import ConsoleWriter from lib.instance_configs import DEFAULT_ARGS -TESTS_DIR = 'scripts' +TESTS_DIR = 'tests' def all_test_files(): tests = [] for root, dirs, files in os.walk(TESTS_DIR): # skip files in top-level - if root == 'scripts': + if root == 'tests': continue tests.extend([f'{root}/{f}' for f in files if f.endswith('.py')]) diff --git a/scripts/__init__.py b/tests/__init__.py similarity index 100% rename from scripts/__init__.py rename to tests/__init__.py diff --git a/scripts/dv5/single_node.py b/tests/dv5/single_node.py similarity index 100% rename from scripts/dv5/single_node.py rename to tests/dv5/single_node.py diff --git a/scripts/gossip/topic_membership.py b/tests/gossip/topic_membership.py similarity index 100% rename from scripts/gossip/topic_membership.py rename to tests/gossip/topic_membership.py diff --git a/scripts/reqresp/blocks_by_range.py b/tests/reqresp/blocks_by_range.py similarity index 100% rename from scripts/reqresp/blocks_by_range.py rename to tests/reqresp/blocks_by_range.py diff --git a/scripts/reqresp/blocks_by_root.py b/tests/reqresp/blocks_by_root.py similarity index 100% rename from scripts/reqresp/blocks_by_root.py rename to tests/reqresp/blocks_by_root.py diff --git a/scripts/reqresp/metadata.py b/tests/reqresp/metadata.py similarity index 100% rename from scripts/reqresp/metadata.py rename to tests/reqresp/metadata.py diff --git a/scripts/reqresp/ping.py b/tests/reqresp/ping.py similarity index 100% rename from scripts/reqresp/ping.py rename to tests/reqresp/ping.py diff --git a/scripts/reqresp/status.py b/tests/reqresp/status.py similarity index 100% rename from scripts/reqresp/status.py rename to tests/reqresp/status.py diff --git a/scripts/utils.py b/tests/utils.py similarity index 100% rename from scripts/utils.py rename to tests/utils.py