def test_staff_command(self):
        bot = StaffBot()

        # Test staff command
        mock_slack_data = get_mock_slack_data()
        mock_slack_data['text'] = 'staff 5'
        response = bot.dispatch(mock_slack_data)
        self.assertEqual(response.get('text'), 'Staffed task 5!')

        mock_slack_data['text'] = 'staff'
        response = bot.dispatch(mock_slack_data)
        self.assertTrue(bot.default_error_text in response.get('text'))
Int from string.
dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/bots/tests/test_staffbot.py/StaffBotTest.test_staff_command--crossover with--dataset/ETHPy150Open blampe/IbPy/ib/lib/__init__.py/Integer.parseInt