Home / Function/ test_run_cert_no_ssl() — flask Function Reference

test_run_cert_no_ssl() — flask Function Reference

Architecture documentation for the test_run_cert_no_ssl() function in test_cli.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  dbdb6510_e7f6_8ca4_4426_a7f5a8e3c4f9["test_run_cert_no_ssl()"]
  62c63da0_a9c3_ab0a_4c48_a9413eac90e3["test_cli.py"]
  dbdb6510_e7f6_8ca4_4426_a7f5a8e3c4f9 -->|defined in| 62c63da0_a9c3_ab0a_4c48_a9413eac90e3
  style dbdb6510_e7f6_8ca4_4426_a7f5a8e3c4f9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_cli.py lines 641–645

def test_run_cert_no_ssl(monkeypatch):
    monkeypatch.setitem(sys.modules, "ssl", None)

    with pytest.raises(click.BadParameter):
        run_command.make_context("run", ["--cert", "not_here"])

Subdomains

Defined In

Frequently Asked Questions

What does test_run_cert_no_ssl() do?
test_run_cert_no_ssl() is a function in the flask codebase, defined in tests/test_cli.py.
Where is test_run_cert_no_ssl() defined?
test_run_cert_no_ssl() is defined in tests/test_cli.py at line 641.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free