def testInvalidStatusType__parse_option(self):
        for key in ('status', 'end_status', 'timer_status'):
            with self.assertRaises(TypeError):
                self.plugin.parse_option(key, 'im',
                                         'away', '2', '3', '4')
            with self.assertRaises(ValueError):
                self.plugin.parse_option(key, 'im',
                                         'invalid-type')
IMStatus.parse_option: validates status types.
dataset/ETHPy150Open xtrementl/focus/tests/unit/plugin/modules/test_im.py/IMStatusCase.testInvalidStatusType__parse_option