Commit e6ae0b0 1 parent 635b542 commit e6ae0b0 Copy full SHA for e6ae0b0
File tree 1 file changed +11
-1
lines changed
tests/integration/go_ethereum
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,17 @@ def get_geth_version(geth_binary):
75
75
get_geth_version ,
76
76
)
77
77
78
- return get_geth_version (geth_executable = os .path .expanduser (geth_binary ))
78
+ geth_version = get_geth_version (geth_executable = os .path .expanduser (geth_binary ))
79
+
80
+ fixture_geth_version = GETH_FIXTURE_ZIP .split ("-" )[1 ]
81
+ if fixture_geth_version not in str (geth_version ):
82
+ raise AssertionError (
83
+ f"geth fixture version `{ fixture_geth_version } ` does not match geth "
84
+ f"version for binary being used to run the test suite: `{ geth_version } `. "
85
+ "For CI runs, make sure to update the geth version in the CI config file."
86
+ )
87
+
88
+ return geth_version
79
89
80
90
81
91
@pytest .fixture (scope = "module" )
You can’t perform that action at this time.
0 commit comments