pytest-el icon indicating copy to clipboard operation
pytest-el copied to clipboard

pytest-one complains about 'not an extant file'

Open patxoca opened this issue 9 years ago • 1 comments

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)))))

patxoca avatar Jul 01 '16 20:07 patxoca

Duplicate of #14 I think, which is now fixed.

Wilfred avatar Nov 11 '16 10:11 Wilfred