def get_rules():
    # Fake get_rules() for testing.
    return [
        Rule('/_tasks/process-mymodel/', name='tasks/process-mymodel',
            handler='%s.TaskTestModelEntityTaskHandler' % __name__),
        Rule('/_tasks/process-mymodel/<string:key>', name='tasks/process-mymodel',
            handler=__name__ % '%s.TaskTestModelEntityTaskHandler'),
    ]
dataset/ETHPy150Open moraes/tipfy/tests/gae_taskqueue_test.py/get_rules/swapped operands of `%`