Hi. Here's my question:
¿How do I propagate my web2py enviroment to several test modules?
Following this
recipe im starting doing TDD with web2py.
My problem is that Im organizing my test cases in several modules, so im only executing my main test runner:
-S bodega -M -R applications/bodega/tests/run_tests.py
So, in the module run_tests.py im discovering my test modules with PyTest:
import pytest
pytest.main('applications/bodega/tests')
That's it. The problem is that in my test files Im unable to "see" the web2py globals variables. So, ¿How do I propagate it to them?
Thanks!