We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37049a0 commit 69c04ceCopy full SHA for 69c04ce
src/pytest_plugins/filler/filler.py
@@ -223,6 +223,14 @@ def pytest_configure(config):
223
called before the pytest-html plugin's pytest_configure to ensure that
224
it uses the modified `htmlpath` option.
225
"""
226
+ # Ensure the fill command was called in the root folder of execution-spec-tests repo
227
+ cwd = Path(os.getcwd())
228
+ cwd_as_list = list(cwd.parts)
229
+ if cwd_as_list[-1].lower() != "execution-spec-tests":
230
+ pytest.exit(
231
+ "Please run the fill command in the root folder of the execution-spec-tests repo!"
232
+ )
233
+
234
# Modify the block gas limit if specified.
235
if config.getoption("block_gas_limit"):
236
EnvironmentDefaults.gas_limit = config.getoption("block_gas_limit")
0 commit comments