def METHOD_NAME(dependency_testing_model) -> None:
    """Verify that modules introduced only via function directly imported from
    a 3rd-party module are extracted as expected.
    """
    func: Callable = dependency_testing_model.post_request
    expected_modules = {"requests"}
    extracted_modules: Set[str] = md.modules_in_function_body(func)
    assert extracted_modules == expected_modules