self.state = None
self.result = None
- @property
- def type(self):
- return None
-
def check(self):
# handle the 'is present' check
if self.expected == 'is present':
assert(data_type in SIMPLE_OPTION_TYPES), \
f'invalid data type "{data_type}"'
assert(data), \
- f'empty data'
+ 'empty data'
if data_type != opt.type:
return