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

python: make test-at-point work #590

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

stfl
Copy link

@stfl stfl commented Apr 4, 2022

The debug-template for pytest (at point) now has the correct :type "python-test-at-point"
The corresponding debug-provider dap-python--populate-test-at-point is loaded

The debug-template for pytest (at point) now has the correct :type "python-test-at-point"
The corresponding debug-provider dap-python--populate-test-at-point is loaded
@stfl stfl changed the title python: actually load populate-test-at-point python: make test-at-point work Jun 13, 2023
@stfl
Copy link
Author

stfl commented Jun 13, 2023

I just came across the problem again and this PR still fixes it.

@stfl
Copy link
Author

stfl commented Jun 13, 2023

my workaround within doom-emacs

(after! (dap-python)
  (dap-register-debug-template "Python :: Run pytest (at point)"
                               (list :type "python-test-at-point"
                                     :args ""
                                     :program nil
                                     :module "pytest"
                                     :request "launch"
                                     :name "Python :: Run pytest (at point)")))

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

Successfully merging this pull request may close these issues.

1 participant