SyntaxFix
Write A Post
Hire A Developer
Questions
If you have the same method name in two different classes and you just want to run one of them, this works:
pytest tests.py -k 'TestClassName and test_method_name'