File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed
src/pytest_plugins/filler Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ addopts =
1111 -p pytest_plugins.spec_version_checker.spec_version_checker
1212 -p pytest_plugins.concurrency
1313 -p pytest_plugins.filler.pre_alloc
14- -p pytest_plugins.solc.solc
1514 -p pytest_plugins.filler.filler
1615 -p pytest_plugins.shared.execute_fill
1716 -p pytest_plugins.forks.forks
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ addopts =
1111 -p pytest_plugins.concurrency
1212 -p pytest_plugins.execute.sender
1313 -p pytest_plugins.execute.pre_alloc
14- -p pytest_plugins.solc.solc
1514 -p pytest_plugins.execute.rpc.hive
1615 -p pytest_plugins.execute.execute
1716 -p pytest_plugins.shared.execute_fill
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ addopts =
1212 -p pytest_plugins.concurrency
1313 -p pytest_plugins.execute.sender
1414 -p pytest_plugins.execute.pre_alloc
15- -p pytest_plugins.solc.solc
1615 -p pytest_plugins.execute.execute
1716 -p pytest_plugins.shared.execute_fill
1817 -p pytest_plugins.execute.rpc.remote_seed_sender
Original file line number Diff line number Diff line change @@ -764,6 +764,11 @@ def fixture_collector(
764764 Return configured fixture collector instance used for all tests
765765 in one test module.
766766 """
767+ # Dynamically load the 'static_filler' and 'solc' plugins if needed
768+ if request .config .getoption ("fill_static_tests_enabled" ):
769+ request .config .pluginmanager .import_plugin ("pytest_plugins.filler.static_filler" )
770+ request .config .pluginmanager .import_plugin ("pytest_plugins.solc.solc" )
771+
767772 fixture_collector = FixtureCollector (
768773 output_dir = fixture_output .directory ,
769774 flat_output = fixture_output .flat_output ,
You can’t perform that action at this time.
0 commit comments