Skip to content

Commit 17e6c67

Browse files
committed
fix test fixtures
1 parent 4176b55 commit 17e6c67

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/test_fixtures.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import pytest
22

33
from halmos.__main__ import mk_solver
4+
from halmos.calldata import FunctionInfo
45
from halmos.config import default_config
56
from halmos.sevm import SEVM
67

@@ -11,8 +12,13 @@ def args():
1112

1213

1314
@pytest.fixture
14-
def sevm(args):
15-
return SEVM(args, None)
15+
def fun_info():
16+
return FunctionInfo("test", "test()", "f8a8fd6d")
17+
18+
19+
@pytest.fixture
20+
def sevm(args, fun_info):
21+
return SEVM(args, fun_info)
1622

1723

1824
@pytest.fixture

0 commit comments

Comments
 (0)