why pytest return No ModuleError 1

why pytest return No ModuleError

# Add __init__.py in tests folder
$ touch tests/__init__.py

Here is what the above code is Doing:
1. Create a new directory called tests
2. Create a new file called __init__.py in the tests directory
3. Create a new file called test_basic.py in the tests directory
4. Add the following code to test_basic.py

Similar Posts