5 Commits

Author SHA1 Message Date
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
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
Fabien C. Y. Benureau
6c929dbafa
fix tests for python 2.7 2019-05-06 00:04:04 +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