aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-api.el6
-rw-r--r--test/test-search.el4
-rw-r--r--test/tests.el1
3 files changed, 3 insertions, 8 deletions
diff --git a/test/test-api.el b/test/test-api.el
index 91a8adb..b7d5dbb 100644
--- a/test/test-api.el
+++ b/test/test-api.el
@@ -11,12 +11,6 @@
(should-error
(sx-request-make "questions" '(()))))
-(ert-deftest test-request-all ()
- "Test request all items"
- (should
- (< 250
- (length (sx-request-all-items "sites")))))
-
(ert-deftest test-method-get-all ()
"Tests sx-method interface to `sx-request-all-items'"
(should (< 250 (length (sx-method-call 'sites :get-all t)))))
diff --git a/test/test-search.el b/test/test-search.el
index 72dbcdc..72f0846 100644
--- a/test/test-search.el
+++ b/test/test-search.el
@@ -29,8 +29,8 @@
(ert-deftest test-search-full-page ()
"Test retrieval of the full search page"
(should
- (= 30 (length (sx-search-get-questions
- "stackoverflow" 1 "jquery")))))
+ (= 100 (length (sx-search-get-questions
+ "stackoverflow" 1 "jquery")))))
(ert-deftest test-search-exclude-tags ()
"Test excluding tags from a search"
diff --git a/test/tests.el b/test/tests.el
index d06c0ff..ce42a9f 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -11,6 +11,7 @@
sx-initialized t
sx-request-remaining-api-requests-message-threshold 50000
debug-on-error t
+ url-show-status nil
user-emacs-directory "."
sx-test-base-dir (file-name-directory (or load-file-name "./")))