[Fixed]-Py.test: programmaticalyl ignore unittest tests

1👍

My test class did not conform to the naming convention. I change it to:

import pytest


class TestSanity(object):

  def test_something(self):
    assert 1

And also fixed a bug in my pytest_collection_modifyitems and it works.

Leave a comment