Finally found what was confusing pycharm about tests...