test: add comment to fixture.
authorDario Lombardo <lomato@gmail.com>
Wed, 26 Dec 2018 21:41:55 +0000 (22:41 +0100)
committerDario Lombardo <lomato@gmail.com>
Thu, 27 Dec 2018 09:02:09 +0000 (09:02 +0000)
Change-Id: I4950968add0498003b041dc16fff05913e53d686
Reviewed-on: https://code.wireshark.org/review/31211
Reviewed-by: Dario Lombardo <lomato@gmail.com>
test/suite_outputformats.py

index 9948b7603a98e145b5b90b0ef5631086f9943e29..2ce15def49df9ceea4dadd28273db0257a3780cc 100644 (file)
@@ -16,6 +16,7 @@ from matchers import *
 
 @fixtures.fixture
 def check_outputformat(cmd_tshark, dirs, capture_file):
+    ''' Check a capture file against a sample, in json format. '''
     def check_outputformat_real(self, pcap_file, format_option, format_file, multiline=False):
         self.maxDiff = 1000000
         tshark_proc = self.assertRun((cmd_tshark, '-r', capture_file(pcap_file), '-T', format_option,))