Thomas Lauf
ad58309159
Update Copyright
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-04-19 12:41:23 +02:00
Shaun Ruffell
b5df2a2aa5
CmdHelp: Return error if man
command fails
...
I feel this is expected behavior, but also eliminates the following compile time
warning on one of my systems:
warning: ignoring return value of ‘int system(const char*)’, declared with
attribute warn_unused_result [-Wunused-result]
Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
2020-03-01 21:02:43 +01:00
Thomas Lauf
34a152c794
Replace assertRegexpMatches
with assertRegex
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
9dd8257cc0
Replace assertEquals
with assertEqual
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
7fa7ca5f04
Remove vim annotations
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
f53e1cef6d
Switch to python 3
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:32 +01:00
Shaun Ruffell
a021e8402f
Ignore stderr output in TestHelp.test_help_with_command_should_show_man_page
2019-11-19 19:45:18 +01:00
Thomas Lauf
cd098289f5
Add assertion for stderr
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 12:53:03 +02:00
Thomas Lauf
8b5a701eeb
Require python2 not python2.7 for tests
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-29 01:31:08 +02:00
Thomas Lauf
712b4b78b2
Revert "Run test with available python"
...
This reverts commit 6b89e122
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-24 21:10:57 +02:00
Thomas Lauf
6b89e12287
Run test with available python
...
- do not enforce python 2.7
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-22 21:21:11 +02:00
Thomas Lauf
6e855cc998
Drop internal help for man pages
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-21 23:32:11 +02:00
Thomas Lauf
037550b791
'-h' should show help
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-05-18 18:40:26 +02:00
Thomas Lauf
6bb4f981cb
Merge branch '212-fix-help-handling' of git://github.com/sruffell/timewarrior into sruffell-212-fix-help-handling
2019-05-07 22:08:23 +02:00
Thomas Lauf
08d2a0e15a
Add tests for command help
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-05-07 21:12:22 +02:00
Shaun Ruffell
c76d004897
#212 : "--help" should show help, not considered to be a tag.
...
This change makes any instance of '--help' on the command line to be made the
command for this particular invocation.
2019-04-07 16:48:24 -05:00