Skip to content

Commit

Permalink
test: fix kwarg thing
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Oct 26, 2023
1 parent 62ab1a3 commit e97d2bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/functional/test_network_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ def fn(**more_settings):
chain_id = chain_id_factory()
settings = {"chain_id": chain_id, **more_settings}
choice = "ethereum:local:test"
context = networks.parse_network_choice(choice, provider_settings=settings)
disconnect_after = settings.pop("disconnect_after", False)
context = networks.parse_network_choice(
choice, disconnect_after=disconnect_after, provider_settings=settings
)
return context

return fn
Expand Down

0 comments on commit e97d2bd

Please sign in to comment.