From 60bfc2e041f6f593432c2c1b2a05876a84193d72 Mon Sep 17 00:00:00 2001 From: Gabriel Levcovitz Date: Fri, 31 Jan 2025 14:16:18 -0300 Subject: [PATCH] tests: re-enable tests --- tests/event/test_event_simulation_responses.py | 2 ++ tests/event/test_event_simulation_scenarios.py | 2 ++ tests/p2p/test_sync_v2.py | 2 +- tests/simulation/base.py | 2 -- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/event/test_event_simulation_responses.py b/tests/event/test_event_simulation_responses.py index 50557296c..c2726dddc 100644 --- a/tests/event/test_event_simulation_responses.py +++ b/tests/event/test_event_simulation_responses.py @@ -23,6 +23,8 @@ class BaseEventSimulationResponsesTest(BaseEventSimulationTester): + __test__ = False + def test_no_start_no_blocks(self) -> None: self.simulator.run(36000) diff --git a/tests/event/test_event_simulation_scenarios.py b/tests/event/test_event_simulation_scenarios.py index 0b8e0ed3b..89cd57e42 100644 --- a/tests/event/test_event_simulation_scenarios.py +++ b/tests/event/test_event_simulation_scenarios.py @@ -41,6 +41,8 @@ class BaseEventSimulationScenariosTest(BaseEventSimulationTester): console and then copying the output and manipulating it to create instances. """ + __test__ = False + seed_config = 6946502462188444706 def assert_response_equal(self, responses: list[EventResponse], expected: list[EventResponse]) -> None: diff --git a/tests/p2p/test_sync_v2.py b/tests/p2p/test_sync_v2.py index c8db309f1..e08bfb9f4 100644 --- a/tests/p2p/test_sync_v2.py +++ b/tests/p2p/test_sync_v2.py @@ -27,7 +27,7 @@ from tests.utils import HAS_ROCKSDB -class BaseRandomSimulatorTestCase(SimulatorTestCase): +class RandomSimulatorTestCase(SimulatorTestCase): __test__ = True seed_config = 2 diff --git a/tests/simulation/base.py b/tests/simulation/base.py index 413594612..4a8e7a5f2 100644 --- a/tests/simulation/base.py +++ b/tests/simulation/base.py @@ -7,8 +7,6 @@ class SimulatorTestCase(unittest.TestCase): - __test__ = False - seed_config: Optional[int] = None def setUp(self) -> None: