defi-stake-yield-brownie-freecode
defi-stake-yield-brownie-freecode copied to clipboard
conftest.py import
If someone else also has the following issue when running test_stake_tokens:
Traceback:
/usr/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/test_token_farm.py:9: in <module>
from tests.conftest import amount_staked
E ModuleNotFoundError: No module named 'tests.conftest'
Adding an init.py file to the tests folder solved the problem
Awesome!
Can you make a PR to update the repo with your change?