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

Fix duplicate names in test library. #2046

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading