aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_proxy.py
blob: 1e1369df4a130dd2c00be916560d7dd47e63d06e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)