diff options
author | Matthew Shao <me@matshao.com> | 2017-07-27 11:20:37 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-07-27 11:20:37 +0800 |
commit | 4ab5574e1849ffe85bd9d06d0beb7a40b31a3845 (patch) | |
tree | f7c2e744ef71c95d2e49d81fc0dc53a705a013dc /test | |
parent | 108ef035855377644ab904e3bba65f7f6512f0ed (diff) | |
download | mitmproxy-4ab5574e1849ffe85bd9d06d0beb7a40b31a3845.tar.gz mitmproxy-4ab5574e1849ffe85bd9d06d0beb7a40b31a3845.tar.bz2 mitmproxy-4ab5574e1849ffe85bd9d06d0beb7a40b31a3845.zip |
[web] Minor Fix for backend.
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/tools/web/test_app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/tools/web/test_app.py b/test/mitmproxy/tools/web/test_app.py index 119d7b1d..4d290284 100644 --- a/test/mitmproxy/tools/web/test_app.py +++ b/test/mitmproxy/tools/web/test_app.py @@ -263,8 +263,8 @@ class TestApp(tornado.testing.AsyncHTTPTestCase): assert self.put_json("/options", {"wtf": True}).code == 400 assert self.put_json("/options", {"anticache": "foo"}).code == 400 - def test_option_dump(self): - assert self.fetch("/options/dump", method="POST").code == 200 + def test_option_save(self): + assert self.fetch("/options/save", method="POST").code == 200 def test_err(self): with mock.patch("mitmproxy.tools.web.app.IndexHandler.get") as f: |