diff options
author | Sean Allred <code@seanallred.com> | 2015-01-04 14:04:55 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2015-01-04 14:04:55 -0500 |
commit | 89834aa61adf1fff29379c82ab96629f0b2960d0 (patch) | |
tree | 5f1791c4048816ada270ece0027e4eb8800a27d1 /test | |
parent | ba9dfba28bd879c49009187bcbbc60fbb343c65b (diff) | |
parent | a9dfed758f2ef75081606228fdff87ad9c6f6ddb (diff) |
Merge pull request #189 from vermiculus/tag-bot
Tag bot
Diffstat (limited to 'test')
-rw-r--r-- | test/test-api.el | 6 | ||||
-rw-r--r-- | test/test-search.el | 4 | ||||
-rw-r--r-- | test/tests.el | 1 |
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 "./"))) |