Browse Source

Improve branch coverage

tags/nilmdb-2.0.0
Jim Paris 3 years ago
parent
commit
c58a933d21
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tests/test_cmdline.py

+ 4
- 0
tests/test_cmdline.py View File

@@ -493,6 +493,10 @@ class TestCmdline(object):
self.ok("insert -t -r 120 --start '03/23/2012 06:05:00' /newton/prep "
"/dev/null")

# --quiet option
self.ok("insert --quiet -t -r 120 -s @0 /newton/prep /dev/null")
self.match("")

# bad start time
self.fail("insert -t -r 120 --start 'whatever' /newton/prep /dev/null")



Loading…
Cancel
Save