diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-02 11:44:28 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-02 11:44:28 +1300 |
commit | db99da6af560f80bc169979f6d8681de3879acf2 (patch) | |
tree | 14da7a5b00704814376dc29b2489bf85f29fe48d /test | |
parent | 8d37ff81e6e256180fdb8e266df4f861e8593c82 (diff) | |
download | mitmproxy-db99da6af560f80bc169979f6d8681de3879acf2.tar.gz mitmproxy-db99da6af560f80bc169979f6d8681de3879acf2.tar.bz2 mitmproxy-db99da6af560f80bc169979f6d8681de3879acf2.zip |
Improve script handling.
- Display output in external viewer when script exits with error.
- Add a "changed" indicator to show if a request can be reverted.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_flow.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index 3ff106d8..470547a5 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -28,7 +28,9 @@ class uFlow(libpry.AutoTree): def test_backup(self): f = utils.tflow() + assert not f.modified() f.backup() + assert f.modified() f.revert() def test_getset_state(self): |