<filename>tests/resources/my_dummy_handlers/dummy_handler_multiple_args_too_few.py<gh_stars>10-100
from oxygen import BaseHandler


class MyDummyHandler(BaseHandler):
    '''
    A test handler that throws mismatch argument exception because
    parse_results expects too many arguments
    '''

    def run_my_dummy_handler(self, result_file):
        return result_file, 'foo'

    def parse_results(self, result_file, foo, bar):
        return {
            'name': result_file,
            'foo': foo,
            'bar': bar
        }

<filename>tests/resources/my_dummy_handlers/dummy_handler_multiple_args_too_few.py<gh_stars>10-100
from oxygen import BaseHandler


class MyDummyHandler(BaseHandler):
    '''
    A test handler that throws mismatch argument exception because
    parse_results expects too many arguments
    '''

    def run_my_dummy_handler(self, result_file):
        return result_file, 'foo'

    def parse_results(self, result_file, foo, bar):
        return {
            'name': result_file,
            'foo': foo,
            'bar': bar
        }

A test handler that throws mismatch argument exception because     parse_results expects too many arguments