You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
364 B
Python

from checklib import Check, Result
class MyCheck(Check):
def check(self):
self.result.state = Result.UNKNOWN
self.result.short_message = 'I don\'t know :-)'
def add_arguments(self):
pass
# Collect argparse arguments at self.arguments
# If defining __init__, call super().__init__ first -- it populates
# self.result, self.argumentparser and so on.