Fabien C. Y. Benureau
0ae97c8061
fix invalid escape sequence in doi test
2023-04-16 17:03:11 +02:00
Fabien C. Y. Benureau
fcc8d0e70a
skip ISBN tests
2022-09-26 16:30:59 +02:00
Fabien C. Y. Benureau
4fb8e674e8
fixes test by skipping isbn
2022-09-26 13:02:16 +02:00
Fabien C. Y. Benureau
cb2de6c072
Merge pull request #279 from dotlambda/remove-nsec_stat
...
remove nsec_stat option from tests
2022-09-26 13:00:02 +02:00
Robert Schütz
05e214eb40
remove nsec_stat option from tests
2022-08-10 11:37:30 +00:00
Robert Schütz
9623d2c3ca
make tests compatible with bibtexparser 1.3.0
2022-08-10 11:27:34 +00:00
Jonas Kulhanek
f7cfe22bf6
Merge pubs updates
2022-02-15 10:03:12 +01:00
Florian Richoux
009cb808a4
Update tests for the new tag display
2022-01-06 12:23:32 +01:00
Fabien C. Y. Benureau
6271b0bd1c
stricter tests for exclude_bibtex_fields
2022-01-05 14:10:29 +01:00
Fabien C. Y. Benureau
d9c8af7c9a
rename bibtex_field_excludes
into exclude_bibtex_fields
2022-01-05 13:52:05 +01:00
Mitsuhiro Nakamura
df52580a0f
test: add tests for excluding bibtex fields
2021-12-10 21:41:11 +09:00
Mitsuhiro Nakamura
80867675b3
feat: add config spec to exclude bibtex fields
2021-12-10 16:17:46 +09:00
Jonas Kulhanek
371c7ef0de
Fix failing tests
2021-11-29 10:06:09 +01:00
Jonas Kulhanek
dfc332006e
Merge branch 'main' of github.com:pubs/pubs
2021-11-29 09:51:18 +01:00
Robert Schütz
cb61ff6fc8
preserve case of field 'type'
...
Non-standard types such as "Diplomarbeit" should not be converted to
lowercase.
2021-02-27 12:59:56 +01:00
Olivier Mangin
6e31a98c18
Minor: forgotten print.
2021-01-29 21:08:35 -08:00
Olivier Mangin
fd2227b548
Fix git plugin tests.
...
Add fake author info to environment while running the tests to avoid
failure of the git commit commands.
2021-01-25 22:52:21 -08:00
Olivier Mangin
526ed05c41
PEP8 and cosmetic changes.
2021-01-25 22:05:34 -08:00
Olivier Mangin
7c5cbf4267
Minor: remove unused partial test.
2021-01-19 12:56:57 -08:00
Olivier Mangin
c363e13cbf
Fix collision of entry type key with valid field name 'type'.
...
Fixes #252 .
2021-01-17 14:38:04 -08:00
Jonas Kulhanek
2e939dbc1b
Add tests for alias
2021-01-16 12:36:41 +09:00
Fabien C. Y. Benureau
e6d0754a8d
Fix #249 : ~ expansion in filebroker.DocBroker
2021-01-12 11:41:35 +09:00
Fabien C. Y. Benureau
d11f443276
explicit move/copy dialog in add; update changelog
2020-06-05 13:22:54 +09:00
Fabien C. Y. Benureau
e8700d7db1
added test for ambiguous citkeys
...
* also reworked the test code to allow to capture output even
when pubs throws an error.
* empty tags are not added to the metadata anymore (does not affect
existing instances)
2020-06-02 18:55:24 +09:00
Fabien C. Y. Benureau
c9aa8ddd41
fix side-effects of merge, and deprecation warnings
2020-05-10 10:01:15 +09:00
Fabien C. Y. Benureau
def25609a1
Merge branch 'master' into feat/remove_prompt
2020-05-10 09:33:14 +09:00
Fabien C. Y. Benureau
04b25a22c8
renamed n_authors into max_authors
2020-05-10 08:53:17 +09:00
Fabien C. Y. Benureau
7bd475378c
support for non-standard bibtex types, fix #210 #218
2020-05-05 17:39:12 +09:00
Fabien C. Y. Benureau
1b8728f4f6
minor: fix output flags in usecase
2020-05-05 01:00:26 +09:00
Fabien C. Y. Benureau
ad85fe9df8
add usecase test for n_authors
2020-05-05 00:50:37 +09:00
Fabien C. Y. Benureau
7776b65de2
number of displayed authors configurable
...
fix #212
2020-05-04 22:37:47 +09:00
Jonas Kulhanek
d073e60711
add tests for pubkey generation
2020-02-26 14:19:29 +01:00
Fabien C. Y. Benureau
fe014bc0a5
fix note append of under python 2 with unicode
2019-08-02 16:02:53 +09:00
dvklopfenstein
b75d77bf24
Test appending a multi-word line into a bib note.
...
https://github.com/pubs/pubs/pull/201#discussion_r305274762
2019-07-28 15:11:13 -04:00
dvklopfenstein
5b8eb48cdc
Implemented requested changes, leaving the multi-word test and the Japanese/CHinese tests commented for furthre review by senior pubs architect
2019-07-25 17:11:45 -04:00
dvklopfenstein
11c74f1ffe
Lowercase format vars. Add Chinese character test
2019-07-19 11:58:41 -04:00
dvklopfenstein
dccbadaf73
Comment out Japanese characters for now
2019-07-18 23:20:20 -04:00
dvklopfenstein
f8508ac5e1
Thank you very much for considering my pull request.
...
I have added a test: tests/test_note_append.py
And have made the isuggested code changes.
Please let me know if anything else is needed.
https://github.com/pubs/pubs/pull/201
https://github.com/pubs/pubs/issues/200
2019-07-18 22:58:17 -04:00
emnllm
94112c02fe
fixes inconsistant chronological listing test
...
* Chronological order listing output for a same year, without entry
timestamp (added metadata field), may vary
2019-06-27 06:10:30 +00:00
emnllm
2e4af1d38f
removes the month field from the chronological listing
2019-06-25 19:00:37 +00:00
emnllm
b3e9db62e1
improves chronological listing (year, month), adds test
2019-06-25 18:22:58 +00:00
Fabien C. Y. Benureau
232158db68
Merge branch 'master' into pr-191
2019-06-07 13:04:25 +09:00
Fabien C. Y. Benureau
e4665f734a
git plugin: addressed review + misc improvments
...
* fixed annoying recursion in exception handlers (fake_env and sand_env)
* "pubs git" always not quiet
* color option for git ouput through "pubs git"
* "pubs git" output without any "info:" prefix or extraneous new line.
* is_loaded() method for plugins
2019-06-05 17:00:51 +09:00
ksunden
994b4da69c
Check full output, not just year
2019-05-09 17:58:27 -05:00
ksunden
7ba016e54c
TST: Test contents of import, not that the command fails
2019-05-09 17:37:42 -05:00
Fabien C. Y. Benureau
6c929dbafa
fix tests for python 2.7
2019-05-06 00:04:04 +09:00
Fabien C. Y. Benureau
5dd65ffa03
fix tests
2019-05-05 23:33:24 +09:00
Fabien C. Y. Benureau
0df52efcd3
adding tests to git plugin
...
- git plugin now performs `git init`
- git call are checked
- only one git commit per pubs command
- SandboxedCommandTestCase for real hd usecase tests.
- `git --help` now documents `--config` and `--force-colors`
2019-05-05 23:12:21 +09:00
Olivier Mangin
3b6751ea1b
Minor: Removes duplicate mock import in test_usecase
2019-03-19 22:14:07 -07:00
Shane Stone
7645b0949c
Add test for pubs list using citekey filter in test_usecase.py
2019-03-17 16:11:32 -07:00