From df110a3546410ed2e6740d9ab4d26490143f4ed8 Mon Sep 17 00:00:00 2001 From: rpgoldman Date: Tue, 16 Jul 2024 15:06:39 -0500 Subject: [PATCH] Fix duplicate names in test library. --- test/elpy-config--insert-help-test.el | 2 +- test/elpy-library-root-test.el | 2 +- test/elpy-open-and-indent-line-above-test.el | 2 +- test/elpy-rpc-get-usages-test.el | 2 +- test/elpy-rpc-test.el | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/elpy-config--insert-help-test.el b/test/elpy-config--insert-help-test.el index bb293ffc0..b1534b4bc 100644 --- a/test/elpy-config--insert-help-test.el +++ b/test/elpy-config--insert-help-test.el @@ -2,6 +2,6 @@ ;; with output. We will test its constituent functions later, and just ;; make sure it doesn't throw an error here. -(ert-deftest elpy-config-should-not-fail () +(ert-deftest elpy-config-should-not-fail-with-insert-help () (elpy-testcase () (elpy-config--insert-help))) diff --git a/test/elpy-library-root-test.el b/test/elpy-library-root-test.el index fdc88b2d7..2f7484c3d 100644 --- a/test/elpy-library-root-test.el +++ b/test/elpy-library-root-test.el @@ -4,7 +4,7 @@ (should (f-equal? (elpy-library-root) project-root)))) -(ert-deftest elpy-library-root-should-find-current-directory () +(ert-deftest elpy-library-root-should-find-current-directory-2 () (elpy-testcase ((:project project-root "p1/p2/test.py" "p1/p2/__init__.py" diff --git a/test/elpy-open-and-indent-line-above-test.el b/test/elpy-open-and-indent-line-above-test.el index d84671226..790dd2607 100644 --- a/test/elpy-open-and-indent-line-above-test.el +++ b/test/elpy-open-and-indent-line-above-test.el @@ -1,4 +1,4 @@ -(ert-deftest elpy-open-and-indent-line-below () +(ert-deftest elpy-open-and-indent-line-above () (elpy-testcase () (elpy-enable) (python-mode) diff --git a/test/elpy-rpc-get-usages-test.el b/test/elpy-rpc-get-usages-test.el index 85f0ad430..386c07819 100644 --- a/test/elpy-rpc-get-usages-test.el +++ b/test/elpy-rpc-get-usages-test.el @@ -1,4 +1,4 @@ -(ert-deftest elpy-rpc-get-completions () +(ert-deftest elpy-rpc-get-usages () (elpy-testcase () (mletf* ((called-args nil) (elpy-rpc (&rest args) (setq called-args args))) diff --git a/test/elpy-rpc-test.el b/test/elpy-rpc-test.el index 8b5bdca69..10cb6d8da 100644 --- a/test/elpy-rpc-test.el +++ b/test/elpy-rpc-test.el @@ -17,7 +17,7 @@ (should (equal error 'elpy-rpc--default-error-callback)))) (elpy-rpc "test-method" nil 'success)))) -(ert-deftest elpy-rpc-should-use-default-without-error-callback () +(ert-deftest elpy-rpc-should-use-default-without-error-callback-blocking () (elpy-testcase () (mletf* ((elpy-rpc--call-blocking (method params)