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.
2014-04-13 15:10:40 +02:00
Fabien Benureau
4ce261d636
more tests on tags
2013-11-18 15:04:34 +01:00
Fabien Benureau
dfd16c029d
first working paper test + bugfix
2013-11-18 14:53:43 +01:00
Fabien Benureau
9243859294
updated test_usecase + fixed bug in import_cmd
2013-11-17 19:44:55 +01:00
Fabien Benureau
810525b4d0
fixed test_config
2013-11-17 19:20:42 +01:00
Fabien Benureau
23cf48661b
added bibstruct text, cleaned fixtures and test_paper
2013-11-17 19:19:31 +01:00
Fabien Benureau
0b1a351485
bibstruct tests + bug fixes
2013-11-17 18:56:52 +01:00
Fabien Benureau
8d91545472
papers renamed 'pubs'
2013-11-14 04:40:29 +01:00
Fabien Benureau
1ad64d7859
notes cmd
2013-11-11 04:07:42 +01:00
Fabien Benureau
10fd0f86d6
only one usecase failing
2013-11-11 00:52:09 +01:00
Fabien Benureau
e0dab17dcd
added troublesome bibfile
2013-11-10 21:49:53 +01:00
Fabien Benureau
8c54b19207
updated import and added rename command
2013-11-10 19:35:21 +01:00
Fabien Benureau
76a6d092dd
fixed bug in datacache + added corresponding tests
2013-11-10 02:44:37 +01:00
Fabien Benureau
a774a1604e
databroker, datacache class + tests
2013-11-09 19:39:59 +01:00
Fabien Benureau
15857b5ecc
docbroker class + tests + more filebroker test
2013-11-09 18:35:31 +01:00
Fabien Benureau
c1bf80fe68
filebroker class + tests
2013-11-08 01:21:15 +01:00
Fabien Benureau
c4701953de
fake_env module for fake fs, fake input
2013-11-08 01:19:59 +01:00
Fabien Benureau
856cfa2a4f
moved test string fixtures to str_fixtures.py
2013-11-08 01:18:04 +01:00
Fabien Benureau
e26c606163
endecoder implementation
2013-11-07 22:48:40 +01:00
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.
2013-10-14 18:03:34 +02:00
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.
2013-07-16 12:46:02 +02:00
Jonathan Grizou
62bdf7dfad
Changed event system to allow more advance listener.
...
See associated test for example.
2013-07-06 22:02:03 +02:00
jgrizou
0801b3882d
Merge branch 'develop' into plug/texnote
2013-07-05 18:10:40 +02:00
jgrizou
9cc893d8a7
Added AddEvent
2013-07-05 17:41:48 +02:00
jgrizou
7b555abf92
Change repo and removed the update function and the rename function. Now only the save_paper function must be used
2013-07-05 17:35:32 +02:00
Olivier Mangin
d5247a6618
Refactors usecase.
...
Integrate helpers into TestCase sub-classes to make use of setUp
mechanism.
2013-07-05 14:42:07 +02:00
Fabien Benureau
ab52785667
update test in test_usecases
2013-07-04 21:39:51 +01:00
Fabien Benureau
9c47951532
don't remove files at end of test.sh
2013-07-04 21:16:57 +01:00
Fabien Benureau
145710b928
test for every command except websearch and update
2013-07-04 21:15:03 +01:00
Fabien Benureau
6c9d4a3a41
lot more test in test_usecase : every command used
2013-07-04 18:59:30 +01:00
Fabien Benureau
04fcb42338
tests can be run from root dir
2013-07-04 18:31:21 +01:00
Fabien Benureau
3b7900a3a4
added tests/tmpdir* to gitignore
2013-07-04 18:07:01 +01:00
Fabien Benureau
cc3928ef4b
fake editor_input
2013-07-04 18:05:53 +01:00
Fabien Benureau
e0fd19f9d8
first input test working
2013-07-04 12:28:00 +01:00
Fabien Benureau
3dde852bdd
execute_cmd input ready
2013-07-04 11:15:11 +01:00
Fabien Benureau
62a4527a37
method to set FakeInput package-wide
2013-07-04 10:34:00 +01:00
Fabien Benureau
d109d93341
added FakeInput class to usecase tests
2013-07-04 10:19:01 +01:00
Fabien Benureau
1be61baf21
added testenv import to test current code
2013-07-02 17:21:59 +01:00
Fabien Benureau
dc73c987c8
update command for config v2 to v3
2013-07-02 16:42:37 +01:00
Fabien Benureau
3c0f575b92
backtracked on changes. repo is passing all tests
2013-07-02 15:58:12 +01:00
Fabien Benureau
164816a910
updated tests
2013-07-02 14:03:32 +01:00
Fabien Benureau
c7a8ada751
enabled load keyword in repo __init__
2013-07-02 13:29:17 +01:00
Fabien Benureau
7b66a4697d
all repo test pass. doc are temporarily disabled.
2013-07-02 12:07:26 +01:00
Fabien Benureau
904ae07bc5
more test_repo tests are passing
2013-07-02 11:23:17 +01:00
Fabien Benureau
ac4b682307
added doc_dir and keywords init to config
2013-07-02 11:19:13 +01:00
Fabien Benureau
a354e79523
first test of new repo passing
2013-07-02 10:59:55 +01:00
Fabien Benureau
320a488667
added get operator to config
2013-07-01 14:56:16 +01:00
Fabien Benureau
45da61f4d2
added config support for multiple sections
2013-07-01 14:22:25 +01:00
Fabien Benureau
f934e8c2ec
more tests for config, slightly changed implementation and interface.
2013-07-01 13:44:43 +01:00
Fabien Benureau
e92c418d80
new, simplified, easier to use config implementation
...
tests are provided, but the rest of the code has not be updated yet.
2013-07-01 13:14:56 +01:00