docs: better data structure docs

This commit is contained in:
Maximilian Hils
2016-04-11 14:13:48 -07:00
parent 7208a7543f
commit 14e9b0a0ac
7 changed files with 66 additions and 76 deletions

View File

@@ -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

View File

@@ -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: