Fabien C. Y. Benureau
0ae97c8061
fix invalid escape sequence in doi test
2 years ago
Fabien C. Y. Benureau
fcc8d0e70a
skip ISBN tests
2 years ago
Fabien C. Y. Benureau
4fb8e674e8
fixes test by skipping isbn
2 years ago
Fabien C. Y. Benureau
cb2de6c072
Merge pull request #279 from dotlambda/remove-nsec_stat
...
remove nsec_stat option from tests
2 years ago
Robert Schütz
05e214eb40
remove nsec_stat option from tests
3 years ago
Robert Schütz
9623d2c3ca
make tests compatible with bibtexparser 1.3.0
3 years ago
Jonas Kulhanek
f7cfe22bf6
Merge pubs updates
3 years ago
Florian Richoux
009cb808a4
Update tests for the new tag display
3 years ago
Fabien C. Y. Benureau
6271b0bd1c
stricter tests for exclude_bibtex_fields
3 years ago
Fabien C. Y. Benureau
d9c8af7c9a
rename `bibtex_field_excludes` into `exclude_bibtex_fields`
3 years ago
Mitsuhiro Nakamura
df52580a0f
test: add tests for excluding bibtex fields
3 years ago
Mitsuhiro Nakamura
80867675b3
feat: add config spec to exclude bibtex fields
3 years ago
Jonas Kulhanek
371c7ef0de
Fix failing tests
3 years ago
Jonas Kulhanek
dfc332006e
Merge branch 'main' of github.com:pubs/pubs
3 years ago
Robert Schütz
cb61ff6fc8
preserve case of field 'type'
...
Non-standard types such as "Diplomarbeit" should not be converted to
lowercase.
4 years ago
Olivier Mangin
6e31a98c18
Minor: forgotten print.
4 years ago
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.
4 years ago
Olivier Mangin
526ed05c41
PEP8 and cosmetic changes.
4 years ago
Olivier Mangin
7c5cbf4267
Minor: remove unused partial test.
4 years ago
Olivier Mangin
c363e13cbf
Fix collision of entry type key with valid field name 'type'.
...
Fixes #252 .
4 years ago
Jonas Kulhanek
2e939dbc1b
Add tests for alias
4 years ago
Fabien C. Y. Benureau
e6d0754a8d
Fix #249 : ~ expansion in filebroker.DocBroker
4 years ago
Fabien C. Y. Benureau
d11f443276
explicit move/copy dialog in add; update changelog
5 years ago
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)
5 years ago
Fabien C. Y. Benureau
c9aa8ddd41
fix side-effects of merge, and deprecation warnings
5 years ago
Fabien C. Y. Benureau
def25609a1
Merge branch 'master' into feat/remove_prompt
5 years ago
Fabien C. Y. Benureau
04b25a22c8
renamed n_authors into max_authors
5 years ago
Fabien C. Y. Benureau
7bd475378c
support for non-standard bibtex types, fix #210 #218
5 years ago
Fabien C. Y. Benureau
1b8728f4f6
minor: fix output flags in usecase
5 years ago
Fabien C. Y. Benureau
ad85fe9df8
add usecase test for n_authors
5 years ago
Fabien C. Y. Benureau
7776b65de2
number of displayed authors configurable
...
fix #212
5 years ago
Jonas Kulhanek
d073e60711
add tests for pubkey generation
5 years ago
Fabien C. Y. Benureau
fe014bc0a5
fix note append of under python 2 with unicode
6 years ago
dvklopfenstein
b75d77bf24
Test appending a multi-word line into a bib note.
...
https://github.com/pubs/pubs/pull/201#discussion_r305274762
6 years ago
dvklopfenstein
5b8eb48cdc
Implemented requested changes, leaving the multi-word test and the Japanese/CHinese tests commented for furthre review by senior pubs architect
6 years ago
dvklopfenstein
11c74f1ffe
Lowercase format vars. Add Chinese character test
6 years ago
dvklopfenstein
dccbadaf73
Comment out Japanese characters for now
6 years ago
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
6 years ago
emnllm
94112c02fe
fixes inconsistant chronological listing test
...
* Chronological order listing output for a same year, without entry
timestamp (added metadata field), may vary
6 years ago
emnllm
2e4af1d38f
removes the month field from the chronological listing
6 years ago
emnllm
b3e9db62e1
improves chronological listing (year, month), adds test
6 years ago
Fabien C. Y. Benureau
232158db68
Merge branch 'master' into pr-191
6 years ago
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
6 years ago
ksunden
994b4da69c
Check full output, not just year
6 years ago
ksunden
7ba016e54c
TST: Test contents of import, not that the command fails
6 years ago
Fabien C. Y. Benureau
6c929dbafa
fix tests for python 2.7
6 years ago
Fabien C. Y. Benureau
5dd65ffa03
fix tests
6 years ago
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`
6 years ago
Olivier Mangin
3b6751ea1b
Minor: Removes duplicate mock import in test_usecase
6 years ago
Shane Stone
7645b0949c
Add test for pubs list using citekey filter in test_usecase.py
6 years ago