Skip to content

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

@patxoca

Description

@patxoca

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions