Skip to content

add documentation for using treq.testing to test klein applications #733

Open
@betinacosta

Description

With Flask you can do this:

class TestApp:
    @pytest.fixture
    def client(self):
        flask_app = app
        with flask_app.app.test_client() as client:
            yield client

But Klein app does not have a test_client or anything like it. Is there a way to test it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions