diff --git a/tests/core/full_node/test_conditions.py b/tests/core/full_node/test_conditions.py index 297639b7d26c..5cd784181515 100644 --- a/tests/core/full_node/test_conditions.py +++ b/tests/core/full_node/test_conditions.py @@ -149,14 +149,12 @@ async def test_valid_my_id(self): async def test_invalid_seconds_absolute(self): # TODO: make the test suite not use `time.time` so we can more accurately # set `time_now` to make it minimal while still failing - blocks = initial_blocks() time_now = int(time.time()) + 3000 conditions = Program.to(assemble(f"(({ConditionOpcode.ASSERT_SECONDS_ABSOLUTE[0]} {time_now}))")) await check_conditions(conditions, expected_err=Err.ASSERT_SECONDS_ABSOLUTE_FAILED) @pytest.mark.asyncio async def test_valid_seconds_absolute(self): - blocks = initial_blocks() time_now = int(time.time()) conditions = Program.to(assemble(f"(({ConditionOpcode.ASSERT_SECONDS_ABSOLUTE[0]} {time_now}))")) await check_conditions(conditions)