From 14518d4d642d2ca7f94e709dc155256b0c568a81 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Wed, 25 Aug 2021 11:15:59 -0700 Subject: [PATCH] update name of utility module to be more specific --- tests/core/pyspec/eth2spec/test/altair/random/test_random.py | 2 +- tests/core/pyspec/eth2spec/test/phase0/random/test_random.py | 2 +- .../test/utils/{random.py => randomized_block_tests.py} | 0 tests/generators/random/generate.py | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename tests/core/pyspec/eth2spec/test/utils/{random.py => randomized_block_tests.py} (100%) diff --git a/tests/core/pyspec/eth2spec/test/altair/random/test_random.py b/tests/core/pyspec/eth2spec/test/altair/random/test_random.py index d022c2ca1..b581659fe 100644 --- a/tests/core/pyspec/eth2spec/test/altair/random/test_random.py +++ b/tests/core/pyspec/eth2spec/test/altair/random/test_random.py @@ -17,7 +17,7 @@ from eth2spec.test.context import ( with_custom_state, single_phase, ) -from eth2spec.test.utils.random import ( +from eth2spec.test.utils.randomized_block_tests import ( run_generated_randomized_test, ) diff --git a/tests/core/pyspec/eth2spec/test/phase0/random/test_random.py b/tests/core/pyspec/eth2spec/test/phase0/random/test_random.py index 5bb8c3791..abf74e43f 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/random/test_random.py +++ b/tests/core/pyspec/eth2spec/test/phase0/random/test_random.py @@ -17,7 +17,7 @@ from eth2spec.test.context import ( with_custom_state, single_phase, ) -from eth2spec.test.utils.random import ( +from eth2spec.test.utils.randomized_block_tests import ( run_generated_randomized_test, ) diff --git a/tests/core/pyspec/eth2spec/test/utils/random.py b/tests/core/pyspec/eth2spec/test/utils/randomized_block_tests.py similarity index 100% rename from tests/core/pyspec/eth2spec/test/utils/random.py rename to tests/core/pyspec/eth2spec/test/utils/randomized_block_tests.py diff --git a/tests/generators/random/generate.py b/tests/generators/random/generate.py index 3f34a6bc0..d6215bb1f 100644 --- a/tests/generators/random/generate.py +++ b/tests/generators/random/generate.py @@ -13,7 +13,7 @@ import warnings from typing import Callable import itertools -from eth2spec.test.utils.random import ( +from eth2spec.test.utils.randomized_block_tests import ( no_block, no_op_validation, randomize_state, @@ -165,7 +165,7 @@ from eth2spec.test.context import ( with_custom_state, single_phase, ) -from eth2spec.test.utils.random import ( +from eth2spec.test.utils.randomized_block_tests import ( run_generated_randomized_test, )"""