/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-ctl

  • Committer: Teddy Hogeborn
  • Date: 2019-03-06 22:56:24 UTC
  • Revision ID: teddy@recompile.se-20190306225624-834ex7y9sos3vzg4
mandos-ctl: Add test for --checker ""

* mandos-ctl (Test_command_from_options.test_checker_empty): New.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1176
1176
        self.assert_command_from_args(["--checker", ":", "foo"],
1177
1177
                                      SetCheckerCmd, value_to_set=":")
1178
1178
 
 
1179
    def test_checker_empty(self):
 
1180
        self.assert_command_from_args(["--checker", "", "foo"],
 
1181
                                      SetCheckerCmd, value_to_set="")
 
1182
 
1179
1183
    def test_timeout(self):
1180
1184
        self.assert_command_from_args(["--timeout", "PT5M", "foo"],
1181
1185
                                      SetTimeoutCmd,