Skip to content

Commit

Permalink
Merge pull request #2046 from rpgoldman/fix-duplicate-test-names
Browse files Browse the repository at this point in the history
Fix duplicate names in test library.
  • Loading branch information
gopar authored Jul 17, 2024
2 parents 777e990 + df110a3 commit 64312a3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/elpy-config--insert-help-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
2 changes: 1 addition & 1 deletion test/elpy-library-root-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion test/elpy-open-and-indent-line-above-test.el
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/elpy-rpc-get-usages-test.el
Original file line number Diff line number Diff line change
@@ -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)))
Expand Down
2 changes: 1 addition & 1 deletion test/elpy-rpc-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 64312a3

Please sign in to comment.