2012-02-19 22:04:07 +00:00
|
|
|
import cStringIO, textwrap
|
2012-02-19 21:34:32 +00:00
|
|
|
from cStringIO import StringIO
|
2010-02-16 04:09:07 +00:00
|
|
|
import libpry
|
2012-02-19 22:04:07 +00:00
|
|
|
from libmproxy import proxy, flow
|
2012-06-09 01:42:43 +00:00
|
|
|
import tutils
|
2010-02-16 04:09:07 +00:00
|
|
|
|
2012-06-10 04:49:59 +00:00
|
|
|
|
2012-06-09 01:42:43 +00:00
|
|
|
class TestProxyError:
|
2010-02-16 04:09:07 +00:00
|
|
|
def test_simple(self):
|
|
|
|
p = proxy.ProxyError(111, "msg")
|
|
|
|
assert repr(p)
|
|
|
|
|