Fabien Benureau
84fd5d7649
fix #17
11 years ago
Olivier Mangin
bf2cce1c13
Only use print_function.
11 years ago
Olivier Mangin
ed16f0bb5b
Fix undefined variable and remove 'added' time (set by repo.push_paper).
11 years ago
Olivier Mangin
91b3fc75bb
Several bug fixes.
...
- edit command fails correctly on unknown citekey,
- init command and filebroker use content module to check paths,
- fix wrong docfile in testrepo,
- list command does not fail on None added date (unknown add dates are
older than everything else). Also adds relevant test.
11 years ago
Olivier Mangin
b71b602a50
FIX bug in color when color not activated.
...
_nodye does not support being called with arg instead of kwarg.
Also improves pretty print and adds related tests.
11 years ago
Olivier Mangin
07cb6f696c
Adds back edit command.
...
The Repository rename_paper method has been updated. The citekey update
and syncronization with citekey in the bibdata should be handled in a
sane manner inside the Paper class.
11 years ago
Olivier Mangin
c9e4f9788c
Moves removing of 'id' to endecoder where it belongs.
11 years ago
Fabien Benureau
d3736e257b
moving from pybtex to bibtextparser, fixed major regressions.
...
* only bibtex format is supported
* all tests except test_repo.py and edit test pass
* edit and update commands were not updated
* removed --format argument from export, only bibtex is supported.
11 years ago
Fabien Benureau
9243859294
updated test_usecase + fixed bug in import_cmd
11 years ago
Fabien Benureau
8d91545472
papers renamed 'pubs'
11 years ago
Fabien Benureau
1ad64d7859
notes cmd
11 years ago
Fabien Benureau
10fd0f86d6
only one usecase failing
11 years ago
Fabien Benureau
8c54b19207
updated import and added rename command
11 years ago
Olivier Mangin
e72f8fa7f2
Improves query handling for list command.
...
- Cleans code.
- Clever mode for case by default (case sensitive only if capitals in
query).
- Adds basic tests.
- Conjunction of blocks.
- Options to override smart case.
11 years ago
Olivier Mangin
08811b842f
Adds citekey argument to selectively import entries.
...
Also removes unused fatal argument from many_from_path and moves
printing of warning to the command.
12 years ago
jgrizou
0801b3882d
Merge branch 'develop' into plug/texnote
12 years ago
jgrizou
9cc893d8a7
Added AddEvent
12 years ago
Olivier Mangin
d5247a6618
Refactors usecase.
...
Integrate helpers into TestCase sub-classes to make use of setUp
mechanism.
12 years ago
Fabien Benureau
ab52785667
update test in test_usecases
12 years ago
Fabien Benureau
145710b928
test for every command except websearch and update
12 years ago
Fabien Benureau
6c9d4a3a41
lot more test in test_usecase : every command used
12 years ago
Fabien Benureau
04fcb42338
tests can be run from root dir
12 years ago
Fabien Benureau
cc3928ef4b
fake editor_input
12 years ago
Fabien Benureau
e0fd19f9d8
first input test working
12 years ago
Fabien Benureau
3dde852bdd
execute_cmd input ready
12 years ago
Fabien Benureau
62a4527a37
method to set FakeInput package-wide
12 years ago
Fabien Benureau
d109d93341
added FakeInput class to usecase tests
12 years ago
Fabien Benureau
3c0f575b92
backtracked on changes. repo is passing all tests
12 years ago
Fabien Benureau
164816a910
updated tests
12 years ago
Fabien Benureau
500667baae
more usecase test, hack-fixed plugins.
12 years ago
Fabien Benureau
ddfc129b64
redirect and check stdout in usecases
12 years ago
Fabien Benureau
cb94166aef
test.sh into virtual usecase
12 years ago
Fabien Benureau
293fc2393f
automatic copy of content into fake fs
12 years ago
Fabien Benureau
b4504278f2
more robust fake_fs testing; added papers add test
12 years ago
Fabien Benureau
13bd18cda9
working fs replacement enabling use case testing.
...
papers content was mostly moved to papers_cmd.py
You can now use papers_cmd.execute('papers tag Page99'.split()) from the code
12 years ago