Two primary options to enable tests to import the code under test: 1. Install the code as a pip installable package using 'pip install -e /path/to/local/package'. 2. Utilize the pythonpath pytest setting.
Setting up tests to import the code under test involves installing the code as a pip installable package or configuring pythonpath pytest setting for accessibility during the testing process.
Collection
[
|
...
]