'Exception subclasses should not be considered as tasks'

def test_exception_exclusion(self):

    exceptions = fabfile('exceptions_fabfile.py')
    with path_prefix(exceptions):
        (docs, funcs) = load_fabfile(exceptions)
        ok_(('some_task' in funcs))
        ok_(('NotATask' not in funcs))
