Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest-one complains about 'not an extant file' #18

Open
patxoca opened this issue Jul 1, 2016 · 1 comment
Open

pytest-one complains about 'not an extant file' #18

patxoca opened this issue Jul 1, 2016 · 1 comment

Comments

@patxoca
Copy link

patxoca commented Jul 1, 2016

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 added a commit to patxoca/pytest-el that referenced this issue Jul 2, 2016
@Wilfred
Copy link
Contributor

Wilfred commented Nov 11, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants