def register_default_handlers(): """ Register the default base level handlers required to run a Cement application. """ register_handler('output', 'genshi', GenshiOutputHandler) register_handler('output', 'json', JsonOutputHandler)
def test_register_duplicate_handler(): register_handler('output', 'json', None)
def test_register_to_bogus_handler(): register_handler('bogus_handler', 'bogus', None)