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))
Classic-task-only modules shouldn't add tasks if any new-style tasks exist
dataset/ETHPy150Open fabric/fabric/tests/test_main.py/TestNamespaces.test_newstyle_task_presence_skips_classic_task_modules