aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite_sharkd.py
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2018-12-12 15:33:44 +0100
committerDario Lombardo <lomato@gmail.com>2019-01-07 18:19:12 +0000
commit4b42a45ebc35b5d2c7ff00cb5653d25497c4a848 (patch)
tree4cf32e39d5ce46dd2f59995c7970794af0d30e49 /test/suite_sharkd.py
parent711eb94438a031822686958d0dd90adfcf35438f (diff)
sharkd: use json_dumper for output.
Change-Id: I457613ea154a86098f536b57844ad6606c595a46 Reviewed-on: https://code.wireshark.org/review/31035 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'test/suite_sharkd.py')
-rw-r--r--test/suite_sharkd.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/suite_sharkd.py b/test/suite_sharkd.py
index b39e950e0a..59d1798c36 100644
--- a/test/suite_sharkd.py
+++ b/test/suite_sharkd.py
@@ -228,8 +228,6 @@ class case_sharkd(subprocesstest.SubprocessTestCase):
}
],
},
- # XXX remove the last null element, it is not part of the interface.
- None
]
},
))
@@ -323,8 +321,7 @@ class case_sharkd(subprocesstest.SubprocessTestCase):
{"req": "frame", "frame": 2},
), (
{"err": 0},
- # XXX remove the first 0 element, it is not part of the interface.
- {"err": 0, "fol": [0, ["UDP", "udp.stream eq 1"]]},
+ {"err": 0, "fol": [["UDP", "udp.stream eq 1"]]},
))
def test_sharkd_req_frame_proto(self, check_sharkd_session, capture_file):