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

Failed tests due to duplicated test name #122

Open
manphiz opened this issue Sep 30, 2023 · 0 comments
Open

Failed tests due to duplicated test name #122

manphiz opened this issue Sep 30, 2023 · 0 comments

Comments

@manphiz
Copy link

manphiz commented Sep 30, 2023

(Forwarded from https://bugs.debian.org/1052931)

Since Emacs 29.1 ERT doesn't allow reusing test names. The test in test/pyvenv-workon-home-test.el doesn't use its file name as test name but reused the one from test/pyvenv-hook-dir.el. The following patch renames the test name following the convention.

--- a/test/pyvenv-workon-home-test.el
+++ b/test/pyvenv-workon-home-test.el
@@ -1,4 +1,4 @@
-(ert-deftest pyvenv-hook-dir ()
+(ert-deftest pyvenv-workon-home ()
   ;; Else, should return WORKON_HOME
   (let ((process-environment (cons "WORKON_HOME=/workon_home"
                                    process-environment)))
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

1 participant