You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brownie provides contract types as fixtures, however it would be helpful to also allow importing them via from brownie import ContractType, then you could do useful stuff like this:
This does work in tests, but not in conftest.py apparently. Shouldn't be a hard fix, just need to ensure the project is loaded before plugin collection happens.
Overview
Brownie provides contract types as fixtures, however it would be helpful to also allow importing them via
from brownie import ContractType
, then you could do useful stuff like this:This would parametrize the fixture such that it would run any tests it touches twice, once with
ProtocolV1
, and once withProtocolV2
.The text was updated successfully, but these errors were encountered: