I have this python application structure in Visual Studio 2017.
I created a tests folder using the Solution explorer and there's a test.py file in it.
I want to use the test module which is stored in tests directory.
But when I try to use import tests.test it says test not defined.
I have just started learning python.
I looked up to this but I dont understand why isnt it working. Am I doing something wrong? I looked it up here
Asked
Active
Viewed 562 times
0
martineau
- 112,593
- 23
- 157
- 280
DragneelFPS
- 432
- 5
- 12