Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2023-24 loggatevi e attivatelo nella vostra pagina dei corsi preferiti. A quel punto il corso appare nel menù personale cliccando sul proprio avatar. Per i materiali degli anni precedenti seguite lo stesso metodo.

To join the Programming/Lab 2023-24 course, log-on and select it on the my courses page. It will appear on the personal menu of your avatar. For earlier years use the same method.

Trouble with testing HW2

a
amic1010 (1460 points)
1 2 5
in HW2 by (1.5k points)
recategorized by
When i attempt to run the test I get the message:

============================ no tests ran in 0.01s =============================

ERROR: file or directory not found: test_01.py

Maybe it has to do with the opening of the original folder?
212 views
closed

1 Answer

Best answer
gianluca5539 (9820 points)
4 6 44
by (9.8k points)
selected by
You have to open the terminal on the folder in which you have all the files, or instead of just giving test_01.py give it the path to that file (you can do that easily by dragging the file on the terminal, it will generate a path for you)
a
amic1010 (1460 points)
1 2 5
by (1.5k points)
Thank you, it works