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
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
Shane Stone
d626fe4251
Add unit tests for CitekeyFilter
6 years ago
Olivier Mangin
c3cb713ae7
Fix test broken likely by pyyaml update by making it more explicit
...
- does not test a specific output from pyyaml dump anymore,
- explicitely check decode and encode-decode step.
6 years ago
Olivier Mangin
3a4acb9fa9
Partial fix for #188
6 years ago
Olivier Mangin
03dc4f192b
Fix test not passing because of bytestring on python 2.7
6 years ago
Olivier Mangin
c8352fb7df
Fixes test not passing because bitexparser's latex_to_unicode also normalizes
6 years ago
Olivier Mangin
fbc9b94f8d
Fix 177: convert latex to unicode before printing one-liner.
...
This commit actually introduces a new method on the paper object to
return a copy of the bibdata which entries' latex have been converted to
unicode.
6 years ago
Fabien C. Y. Benureau
7818e57ead
reduce the number of isbn test to avoid 403 status
6 years ago
Fabien C. Y. Benureau
9bf88649a3
fix #172
6 years ago
Fabien C. Y. Benureau
6865e29d15
fix for Python 2
6 years ago
Fabien C. Y. Benureau
b99c5b43fa
handle / in citekeys
6 years ago
Olivier Mangin
da70d3c381
Handles listing papers with documents without extension.
6 years ago
Fabien C. Y. Benureau
49e6c7d9c2
update tests
7 years ago
Fabien C. Y. Benureau
a58f1b1d5e
hotfix for #164
7 years ago
Fabien C. Y. Benureau
efb91b1ff4
hotfix for #165
7 years ago
Olivier Mangin
42d75d1230
Merge branch 'master' into fix/doc_add
7 years ago
Olivier Mangin
c2e52ec4c4
Makes 'copy' the default for the `add_doc` configuration option.
7 years ago
Olivier Mangin
c4bf5eef87
Merge branch 'master' into jma/arxiv
7 years ago
Fabien C. Y. Benureau
8e30ac7400
refix test + switch apis to https
7 years ago
Fabien C. Y. Benureau
0eb069c86a
fix test + sorted json
7 years ago
Fabien C. Y. Benureau
30a7094eaf
add arXiv tests
7 years ago
Olivier Mangin
7dae35e722
Adds the statistics command. ( Fixes #8 )
7 years ago
Olivier Mangin
a8de97c327
Fixes #144 : behavior of add_copy mode during add.
...
- correctly handles add_copy mode and configuration,
- add option top force 'copy' mode (since the default had been changed
in between from 'copy' to 'move' this is now needed),
- fixes assumption in one test that the default is 'copy' (in other
words the test was broken and ensuring that the functionality was broken
too.),
- do not try to delete the source when it is an URL.
7 years ago
Fabien C. Y. Benureau
c62d1c3c50
move test data from pickle to json
7 years ago