mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-11 22:39:44 +08:00
13 lines
236 B
Python
13 lines
236 B
Python
import cStringIO, textwrap
|
|
from cStringIO import StringIO
|
|
import libpry
|
|
from libmproxy import proxy, flow
|
|
import tutils
|
|
|
|
|
|
class TestProxyError:
|
|
def test_simple(self):
|
|
p = proxy.ProxyError(111, "msg")
|
|
assert repr(p)
|
|
|