%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/doc/python3-flask/examples/tests/
Upload File :
Create Path :
Current File : //usr/share/doc/python3-flask/examples/tests/test_factory.py

from flaskr import create_app


def test_config():
    """Test create_app without passing test config."""
    assert not create_app().testing
    assert create_app({"TESTING": True}).testing


def test_hello(client):
    response = client.get("/hello")
    assert response.data == b"Hello, World!"

Zerion Mini Shell 1.0