twisted / twisted/twisted

Turn twisted.web.test.requesthelpers.DummyRequest into a public interface

Open
#6,703 1 comment 0 reactions 1 assignee View on GitHub

@exarkun is already working on this.

Since Jun 27, 2022.

enhancement new priority-normal web
Dominant language
Python
Stars
6k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
10

Description

exarkun's avatar @exarkun reported
Trac ID trac#6703
Type enhancement
Created 2013-08-26 15:14:43Z
Branch https://github.com/twisted/twisted/tree/tested-memory-request-6703

It's pretty important to have a request object when testing any resources you might write. It would also be pretty handy to be able to have an IAgent that's backed against IResources - which also means having an IRequest that's not so deeply tied to transports and such.

DummyRequest should be turned into a verified fake of Request (or, basically, a tested IRequest implementation) and published under a public name (ie, something that's not part of a test package).

Searchable metadata
trac-id__6703 6703
type__enhancement enhancement
reporter__exarkun exarkun
priority__normal normal
milestone__ 
branch__branches_tested_memory_request_6703 branches/tested-memory-request-6703
branch_author__exarkun exarkun
status__new new
resolution__None None
component__web web
keywords__ 
time__1377530083000000 1377530083000000
changetime__1377551478000000 1377551478000000
version__None None
owner__exarkun exarkun
cc__jknight cc__jonathanj cc__magmatt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.