Improve branch coverage
This commit is contained in:
parent
7874e1ebfa
commit
c58a933d21
|
@ -493,6 +493,10 @@ class TestCmdline(object):
|
||||||
self.ok("insert -t -r 120 --start '03/23/2012 06:05:00' /newton/prep "
|
self.ok("insert -t -r 120 --start '03/23/2012 06:05:00' /newton/prep "
|
||||||
"/dev/null")
|
"/dev/null")
|
||||||
|
|
||||||
|
# --quiet option
|
||||||
|
self.ok("insert --quiet -t -r 120 -s @0 /newton/prep /dev/null")
|
||||||
|
self.match("")
|
||||||
|
|
||||||
# bad start time
|
# bad start time
|
||||||
self.fail("insert -t -r 120 --start 'whatever' /newton/prep /dev/null")
|
self.fail("insert -t -r 120 --start 'whatever' /newton/prep /dev/null")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user