aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_dump.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_dump.py')
-rw-r--r--test/test_dump.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_dump.py b/test/test_dump.py
index 6213f870..1f6b7acc 100644
--- a/test/test_dump.py
+++ b/test/test_dump.py
@@ -4,6 +4,12 @@ import libpry
from libmproxy import dump, flow
import utils
+class uStrFuncs(libpry.AutoTree):
+ def test_all(self):
+ t = utils.tresp()
+ t.set_replay()
+ dump.str_response(t)
+
class uDumpMaster(libpry.AutoTree):
def _cycle(self, m, content):
@@ -103,11 +109,15 @@ class uDumpMaster(libpry.AutoTree):
self._dummy_cycle, None, "", response_script="scripts/err_return"
)
+ def test_stickycookie(self):
+ ret = self._dummy_cycle(None, "", stickycookie = ".*")
+
tests = [
+ uStrFuncs(),
uDumpMaster()
]