mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-28 20:24:59 +08:00
docs: better data structure docs
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
.. _models:
|
||||
|
||||
Models
|
||||
======
|
||||
Datastructures
|
||||
==============
|
||||
|
||||
.. automodule:: mitmproxy.models
|
||||
:members: HTTPFlow, HTTPRequest, HTTPResponse
|
||||
|
||||
|
||||
.. automodule:: netlib.http
|
||||
|
||||
@@ -56,4 +60,4 @@ Models
|
||||
|
||||
.. automodule:: mitmproxy.models
|
||||
:show-inheritance:
|
||||
:members: HTTPFlow, Error, ClientConnection, ServerConnection
|
||||
:members: Error, ServerConnection, ClientConnection
|
||||
@@ -10,7 +10,7 @@ suitable extension to the test suite.
|
||||
Our tests are written for the `py.test`_ or nose_ test frameworks.
|
||||
At the point where you send your pull request, a command like this:
|
||||
|
||||
>>> py.test -n 4 --cov mitmproxy
|
||||
>>> py.test --cov mitmproxy --cov netlib
|
||||
|
||||
Should give output something like this:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user