'Classic-task-only modules shouldn\'t add tasks if any new-style tasks exist'

def test_newstyle_task_presence_skips_classic_task_modules(self):

    module = fabfile('deep')
    with path_prefix(module):
        (docs, funcs) = load_fabfile(module)
        eq_(len(funcs), 1)
        ok_(('submodule.classic_task' not in _task_names(funcs)))
