test_slack_webhook() — langchain Function Reference
Architecture documentation for the test_slack_webhook() function in test_ssrf_protection.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD ffde78af_450e_b5a7_3427_b7de482d37b3["test_slack_webhook()"] bd823e98_2344_2fbf_4aaf_e69db66a9537["TestRealWorldURLs"] ffde78af_450e_b5a7_3427_b7de482d37b3 -->|defined in| bd823e98_2344_2fbf_4aaf_e69db66a9537 style ffde78af_450e_b5a7_3427_b7de482d37b3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/test_ssrf_protection.py lines 277–282
def test_slack_webhook(self) -> None:
"""Test Slack webhook URL."""
url = (
"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXX"
)
assert is_safe_url(url) is True
Domain
Subdomains
Source
Frequently Asked Questions
What does test_slack_webhook() do?
test_slack_webhook() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/test_ssrf_protection.py.
Where is test_slack_webhook() defined?
test_slack_webhook() is defined in libs/core/tests/unit_tests/test_ssrf_protection.py at line 277.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free