Skip to content

Mock patching during ChannelsLiveServerTestCases #1737

@ckcollab

Description

@ckcollab

Thank you so much for channels, as always!

We're trying to write some selenium E2E tests that require django views to be mocked, and we're discovering that this doesn't seem very simple.. are there some best practices/tips for accomplishing mock patching Django views within ChannelsLiveServerTestCase?

Will gladly submit a PR to the docs with some examples, once we figure out a neat way to do it.

Relates to: #707

Metadata

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