pytest-el
pytest-el copied to clipboard
pytest-one complains about 'not an extant file'
pytest.el cloned from git
Running pytest-one complains about:
pytest-check-test-file: '/path/tests/test_module.py::TestClass::test_method' is not an extant file.
I have solved the issue changing pytest-check-test-file:
(defun pytest-check-test-file (path)
(let ((actual-path (car (s-split "::" path))))
(if (not (file-exists-p actual-path))
(error (format "'%s' is not an extant file." actual-path)))))
Duplicate of #14 I think, which is now fixed.