def METHOD_NAME(self):
    with script.TemporaryScript(
        "disabled.py", AVOCADO_TEST_OK_DISABLED, mode=DEFAULT_NON_EXEC_MODE
    ) as disabled_test:
        res = PythonUnittestResolver().resolve(disabled_test.path)
    self.assertEqual(res.result, resolver.ReferenceResolutionResult.NOTFOUND)