* test/automated/package-test.el (package-test-update-listing)
(package-test-update-archives, package-test-describe-package): Adjust tests according to new package-list-unsigned.
This commit is contained in:
parent
79577a9f9b
commit
30a42a5bed
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* automated/package-test.el (package-test-update-listing)
|
||||
(package-test-update-archives, package-test-describe-package):
|
||||
Adjust tests according to new package-list-unsigned.
|
||||
|
||||
2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
|
||||
|
||||
* automated/python-tests.el (python-util-strip-string-1): New test.
|
||||
|
|
|
@ -264,7 +264,7 @@ Must called from within a `tar-mode' buffer."
|
|||
(should (package-installed-p 'simple-single))
|
||||
(switch-to-buffer "*Packages*")
|
||||
(goto-char (point-min))
|
||||
(should (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+unsigned" nil t))
|
||||
(should (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+installed" nil t))
|
||||
(goto-char (point-min))
|
||||
(should-not (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+\\(available\\|new\\)" nil t))
|
||||
(kill-buffer buf))))
|
||||
|
@ -286,7 +286,7 @@ Must called from within a `tar-mode' buffer."
|
|||
;; New version should be available and old version should be installed
|
||||
(goto-char (point-min))
|
||||
(should (re-search-forward "^\\s-+simple-single\\s-+1.4\\s-+new" nil t))
|
||||
(should (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+unsigned" nil t))
|
||||
(should (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+installed" nil t))
|
||||
|
||||
(goto-char (point-min))
|
||||
(should (re-search-forward "^\\s-+new-pkg\\s-+1.0\\s-+\\(available\\|new\\)" nil t))
|
||||
|
@ -317,7 +317,7 @@ Must called from within a `tar-mode' buffer."
|
|||
(with-fake-help-buffer
|
||||
(describe-package 'simple-single)
|
||||
(goto-char (point-min))
|
||||
(should (search-forward "simple-single is an unsigned package." nil t))
|
||||
(should (search-forward "simple-single is an installed package." nil t))
|
||||
(should (search-forward
|
||||
(format "Status: Installed in `%s/' (unsigned)."
|
||||
(expand-file-name "simple-single-1.3" package-user-dir))
|
||||
|
|
Loading…
Add table
Reference in a new issue