I know that you had it right, but for me actually setting the Default test runner to pytest solved the problem.
In PyCharm: Settings -> Python Integrated Tools -> Testing section -> Default test runner -> choose pytest from the dropdown menu -> Apply. And it instantly works.