mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 11:17:24 +00:00
12 lines
236 B
Python
12 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)
|
|
|