Commit Graph

239 Commits

Author SHA1 Message Date
rachmadaniHaryono
de395789b5 new: dev: test api and invalid id 2019-05-14 04:56:03 +08:00
rachmadaniHaryono
695c45158a new: dev: test api on empty database 2019-05-14 02:47:29 +08:00
rachmadaniHaryono
4fa973d306 new: dev: db_file and test 2019-05-14 01:51:23 +08:00
rachmadaniHaryono
5e291a66e8 fix: test: pylint 2019-05-14 01:51:23 +08:00
rachmadaniHaryono
7ff6994d9d new: test: simple test for bukuserver cli 2019-05-14 01:50:51 +08:00
rachmadaniHaryono
7f0b1da494 new: dev: sync requirement file and setup 2019-05-13 05:34:28 +08:00
rachmadaniHaryono
80479fd54f
chg: dev: only inform about popen for now 2019-04-30 20:20:46 +05:30
rachmadaniHaryono
158fef49e1 fix: dev: org export 2019-04-30 13:36:51 +08:00
rachmadaniHaryono
f98f5fdac0 fix: dev: export 2019-04-30 13:23:56 +08:00
rachmadaniHaryono
40c1a90147 fix: test: empty third row 2019-04-30 12:49:41 +08:00
rachmadaniHaryono
da93dbe43f fix: test: org export 2019-04-28 14:18:16 +08:00
rachmadaniHaryono
5aae57712d fix: test: lint 2019-04-28 14:13:55 +08:00
rachmadaniHaryono
c35f89e9af new: test: exportdb to db 2019-04-28 14:11:10 +08:00
rachmadaniHaryono
b986485dd5 new: test: convert_bookmark_set 2019-04-28 14:00:46 +08:00
rachmadaniHaryono
2b48ddd84b fix: test: path for python 3.4, 3.5 2019-04-28 09:38:05 +08:00
rachmadaniHaryono
d66d2e3570 new: test: test_get_max_id 2019-04-28 08:43:54 +08:00
rachmadaniHaryono
43ba2a50f8 new: dev: test export db simple case 2019-04-28 08:12:00 +08:00
rachmadaniHaryono
fc9558e6f3 fix: test: exp argument test_search_by_tag_query 2019-04-13 08:18:33 +08:00
rachmadaniHaryono
fc4f6bff6e fix: test: test_update_rec_update_all_bookmark for p 3.7 2019-04-13 08:02:08 +08:00
rachmadaniHaryono
0a085e1946 fix: test: test_search_by_tag_query 2019-04-13 07:58:51 +08:00
rachmadaniHaryono
7197add803 fix: test: test_update_rec_exec_arg for p 3.7 2019-04-13 07:42:19 +08:00
Arun Prakash Jana
607b8e1050
Disable test case 2019-04-03 21:44:07 +05:30
rachmadaniHaryono
0b726b4112 chg: no deadline for test_browse_by_index 2019-01-15 15:27:09 +08:00
rachmadaniHaryono
fbdbdb6119 fix: test deadline 2019-01-15 15:06:22 +08:00
rachmadaniHaryono
f20a5bdbb3 fix: skipped test 2019-01-15 14:58:47 +08:00
rachmadaniHaryono
ce7eccced3 remove redundant skip test 2019-01-15 14:37:38 +08:00
Arun Prakash Jana
a67fd2f012
Skip failing tests
test_delete_rec_range_and_delay_commit
test_delete_rec_index_and_delay_commit
2019-01-15 06:56:49 +05:30
Chris Drexler
4c247f10a1 FIX(buku) ff json import improve test, fix var bug
- better json title parsing, catching "no title" situation
- add/fix test for "ignore special root bookmark folders" feature
2019-01-02 22:11:30 +01:00
Chris Drexler
c32cf5911b FIX(buku) pylint errors in ff json import tests 2019-01-02 12:35:59 +01:00
Chris Drexler
c722c92e2d FIX(buku) ff json import ignore root folder names
- main bookmark container names are ignored when adding parent
  folder name as tags
- adjust tests accordingly
- merged upstream adjustments
2019-01-02 11:44:51 +01:00
Chris Drexler
9159e148d9 FIX(buku) correct hierarchical folder handling
- fix hierarchical folder handling when adding parent folder
  as tag: only parent folder is added, no concatenation
- handling of folder without title added
- tests added for the above
2019-01-02 11:01:42 +01:00
Chris Drexler
727141b5e2 FIX(buku) ff json import folder w/o children
- fixes jarun/Buku#340
- replaced error with warning
- proper warning message added
- test added
2019-01-02 11:00:26 +01:00
rachmadaniHaryono
acc08c1ec8 chg: test: assert none 2019-01-02 03:41:24 +08:00
rachmadaniHaryono
d0ef116a0b new: dev: fix test test_cleardb 2019-01-02 03:35:22 +08:00
Sébastien Lavoie
094f44b369 Improve readability and fix minor typos. 2018-12-30 20:49:38 -06:00
Chris Drexler
578cd28edd FIX(buku) correct hierarchical folder handling
- fix hierarchical folder handling when adding parent folder
  as tag: only parent folder is added, no concatenation
- handling of folder without title added
- tests added for the above
2018-12-30 15:42:02 +01:00
Chris Drexler
da21c5e7e8 FIX(buku) ff json import folder w/o children
- fixes jarun/Buku#340
- replaced error with warning
- proper warning message added
- test added
2018-12-30 14:16:05 +01:00
Arun Prakash Jana
3d528d303d
Fix build break 2018-12-29 05:29:40 +05:30
Chris Drexler
be551c60f8 Merge branch 'feature/import-firefox-json' of https://github.com/ckolumbus/Buku into feature/import-firefox-json 2018-12-28 10:51:05 +01:00
Chris Drexler
90237ea8bf FIX(test) formatting errors in test for ff json 2018-12-28 10:50:03 +01:00
rachmadaniHaryono
1354ea42b3 chg: test: exp res 2018-12-26 21:39:30 +08:00
rachmadaniHaryono
cc65ee5b82 fix: test: page title 2018-12-26 21:25:38 +08:00
Chris Drexler
5bc1ab63da ADD(buku) simplify test & add docu for ff json imp 2018-12-26 11:25:22 +01:00
Chris Drexler
e6f3debdda ADD(buku) more tests for import_firefox_json 2018-12-25 20:43:51 +01:00
Chris Drexler
3795978c07 FIX(test) flake8 fixes in ff json import tests 2018-12-18 21:17:21 +01:00
Chris Drexler
da7cd0b1a4 ADD(buku) tests for firefox json import 2018-12-18 21:11:29 +01:00
Chris Drexler
b016db1d50 NEW(buku) add first attempt of firefox json import
- not working yet, only print outs should be done
- issues with iteration (worked with standalon python function)
2018-12-17 22:46:39 +01:00
rachmadaniHaryono
b51ef69c5e chg: test: use url zip for firefox bm load 2018-10-30 10:21:21 +08:00
rachmadaniHaryono
1713b8372d chg: test: shorten time for test_browse_by_index 2018-10-30 10:21:21 +08:00
rachmadaniHaryono
cf3e68e3ca fix: test: using example.com 2018-10-30 10:19:54 +08:00
rachmadaniHaryono
41cf1d2223 fix: test: test_search_by_multiple_tags_search_any 2018-10-30 10:19:53 +08:00
rachmadaniHaryono
99cc6332ed fix: test: test_bukudb flake8 error 2018-10-30 10:19:53 +08:00
rachmadaniHaryono
95547f85a6 chg: test: update test on browser bm load
- use local test file
- comment line on dumping the data
- print info when dumping the data
2018-10-30 10:18:41 +08:00
rachmadaniHaryono
1f2d5bb37e new: test: add file needed for test
chg: test: remove places.sqlite
2018-10-30 10:18:41 +08:00
rachmadaniHaryono
732235c704 new: test: cassette 2018-10-30 10:18:41 +08:00
rachmadaniHaryono
ac55d322a4 chg: test: shorten time for 5 longest test
- also use example.com instead of test.com
2018-10-30 10:18:40 +08:00
Arun Prakash Jana
41d2089484
Fix build break 2018-10-30 06:20:05 +05:30
Arun Prakash Jana
a9afc78f7e
Jump to prompt if no args 2018-09-02 12:07:09 +05:30
Arun Prakash Jana
77894f830e
Skip test_print_rec_hypothesis() 2018-08-30 05:57:50 +05:30
Arun Prakash Jana
bf48169204
Fix test result 2018-08-07 03:22:50 +05:30
rachmadaniHaryono
f823a6aecc chg: test: simplify test_get_PoolManager 2018-08-06 15:51:36 +08:00
rachmadaniHaryono
9d2b414384 fix: test: test_add_rec_add_invalid_url 2018-08-06 15:47:38 +08:00
rachmadaniHaryono
41b8785a4e fix: test: test_network_handler_with_url 2018-08-06 15:42:46 +08:00
rachmadaniHaryono
c0af32544a chg: test: use http for example.com 2018-08-06 14:37:28 +08:00
rachmadaniHaryono
8e6c53f404 chg: test: more test on to_temp_file_content func 2018-08-06 14:19:21 +08:00
rachmadaniHaryono
f80e5b241a fix: test: test_to_temp_file_content 2018-08-06 13:58:44 +08:00
rachmadaniHaryono
098d0d5e71 chg: test: remove test_get_page_title 2018-08-06 13:18:13 +08:00
rachmadaniHaryono
77fc10b6ee chg: test: remove BukuHTMLParser 2018-08-06 13:15:55 +08:00
rachmadaniHaryono
b567dd2a64 chg: test: get_page_title func 2018-08-01 20:08:30 +08:00
rachmadaniHaryono
1a0b5bd328 new: test: 2 url for testing 2018-08-01 19:57:34 +08:00
rachmadaniHaryono
496238262f fix: test: fetch title 2018-08-01 19:57:34 +08:00
rachmadaniHaryono
8180711a33 chg: test: add url for test title fetch 2018-08-01 19:57:34 +08:00
Arun Prakash Jana
f5782a6257
Add refreshdb test 2018-08-01 10:08:14 +05:30
Arun Prakash Jana
60a12a8362
Skip refreshdb test 2018-08-01 10:00:24 +05:30
rachmadaniHaryono
d74190ee92 chg: test: refreshdb 2018-07-31 19:01:18 +08:00
rachmadaniHaryono
b476b40151 fix: text: travis 2018-07-31 15:32:43 +08:00
rachmadaniHaryono
57aec20406 chg: test: add info when test failed 2018-07-31 15:08:19 +08:00
Arun Prakash Jana
de7a6993e0
Fix build break 2018-07-19 02:27:15 +05:30
rachmadani haryono
c3d38cb17b Feature/pytest (#288)
* chg: test: pytest

* chg: test: required package attrs

* fix: test: regex input

* chg: test: remove unused conftest

* chg: test: verbose on testing refreshdb

* chg: dev: sort required package

* Revert "chg: test: verbose on testing refreshdb"

This reverts commit f391b36ba4b729a67b744330d226a84b48655a7d.
2018-06-22 10:41:36 +05:30
Arun Prakash Jana
50ca5b85d9
Fix build break 2018-05-27 07:35:59 +05:30
rachmadaniHaryono
0e9ebcc464 chg: test: remove unused zip link 2018-05-04 23:23:09 -07:00
rachmadaniHaryono
738afa36a6 chg: test: remove unused pickle lib 2018-05-04 23:23:09 -07:00
rachmadaniHaryono
a505c77fe4 new: test: local test file 2018-05-04 23:23:09 -07:00
rachmadaniHaryono
f50bdd13f8 chg: test: browser test
- add method to dump new exp_res
- use local file
2018-05-04 23:23:09 -07:00
SaltyCatFish
e12d2f95f0 Support keyword filtering (records having keywords a and b but not c and d) (#256)
* Support keyword filtering (records having keywords a and b but not c and d)

* Remove debug statements.

* Left a pass statement by mistake.

* Update cli help to show word list '[...]' after search options.

* Add space after method doc.

* Change cli option '-W --without' to '-x --exclude'
2018-03-25 23:10:06 +05:30
rachmadani haryono
5c728030aa test for search_keywords_and_filter_by_tags method (#254)
* new: test: search_keywords_and_filter_by_tags

* fix: test: set pytest version
2018-03-23 08:49:19 +05:30
Arun Prakash Jana
f804233ef9
Sanitize PR #252 2018-03-23 05:10:48 +05:30
SaltyCatFish
6db194405b Add search_and_filter (#252)
* Add search_and_filter

* Update search_any_keyword_and_filter_by_tags and tests.
2018-03-23 04:15:20 +05:30
rachmadani haryono
9cdb73d1f6 fix: dev: test_browse (#245) 2018-02-21 12:39:30 +05:30
Arun Prakash Jana
fb4649917c
Fix build break due to new attribute 2018-02-18 23:14:00 +05:30
Alex
c2d21b8c24 Feature/order search results by keyword matches (#244)
* Add case statements to search_by_tag

* Add subselect so we don't return score column

* update tests to change expected order of results

* Add case statements to searchdb

* Add docstring to wrap_in_case_statement

* Add to comment in search_by_multiple_tags_search_any test

* Switch clause to fragment

* Change case_select variable to case_statement

* Remove wrap_in_case_statement function and use lambda instead
2018-02-18 06:52:59 +05:30
rachmadani haryono
19e8fff33d Feature/test copy url to clipboard support (#243)
* chg: dev: move new feature to its own function

* chg: test: test copy_to_clipboard func

* chg: test: remove pytest-catchlog

* chg: test: minimum pytest version

* chg: test: add exception on python 3.5&3.6 tests
2018-02-11 21:27:33 +05:30
rachmadani haryono
88105878e4 chg: test: add exception on python3.4 tests (#242) 2018-02-04 21:38:59 +05:30
rachmadani haryono
4facc4ba29 Feature/fix request on test (#238)
* chg: dev: fix request on test

* chg: test: ignore printed text

* chg: test: method to test print

* new: test: ignore instance attribute pylint error
2017-12-13 08:46:17 +05:30
Arun Prakash Jana
b663554dd0
Release version check test 2017-12-02 22:16:10 +05:30
Arun Prakash Jana
4e93f235f6
Fix urllib.request import 2017-12-02 22:02:20 +05:30
Arun Prakash Jana
b7a1b3b8b5
Retire Python 3.3 support, reached EOL
Ref: https://www.python.org/downloads/release/python-337/
2017-12-02 21:53:20 +05:30
Alex
2d037d00d7 Use set operations in suggest_similar_tag method; add tests (#230)
* Use set operations in suggest_similar_tag method; add tests

* remove extra blank line
2017-11-06 08:19:10 +05:30
Arun Prakash Jana
d9be8e17f4
Add test case to shorten and expand url 2017-10-23 19:28:18 +05:30
rachmadani haryono
567763238a Feature/exception on malformed url (#221)
* fix: dev: malformed url

* new: test; about and chrome protocol

* fix: dev: fix lint

* fix: dev: import error on urllib3

* fix: dev: urllib3 exceptions

* fix: test: test on protocols

* fix: dev: return value of is_bad_url

* chg: dev: update buku

- change logerr msg
- sort ignored_prefix
- check is_nongeneric_url and is_bad_url
2017-10-14 16:43:53 +05:30