When try to run any unit_test python file, it always prompts an error, as below:
The command I used: python3 -m unittest tests/authentication_test.py -v
Traceback (most recent call last):
File "//tests/authentication_test.py", line 2, in
from ..app import *
ImportError: attempted relative import with no known parent package
When try to run any unit_test python file, it always prompts an error, as below:
The command I used: python3 -m unittest tests/authentication_test.py -v
Traceback (most recent call last): File "//tests/authentication_test.py", line 2, in
from ..app import *
ImportError: attempted relative import with no known parent package
Any idea or anyone to fix it?