We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2040c1b commit 9f850e2Copy full SHA for 9f850e2
python-pytest.el
@@ -595,10 +595,11 @@ Example: ‘MyABCThingy.__repr__’ becomes ‘test_my_abc_thingy_repr’."
595
(-map 'file-name-directory)
596
(-uniq)
597
(-sort 'string<)))
598
- (candidates (if (eq type 'file) test-files test-directories)))
+ (candidates (if (eq type 'file) test-files test-directories))
599
+ (prompt (if (eq type 'file) "Choose test files: " "Choose test directories: ")))
600
(unless candidates
- (user-error "No test files found"))
601
- (completing-read-multiple "Choose test files: " candidates nil t)))
+ (user-error "No test files or directories found"))
602
+ (completing-read-multiple prompt candidates nil t)))
603
604
(defun python-pytest--maybe-save-buffers ()
605
"Maybe save modified buffers."
0 commit comments