tests: Fixup test names
This commit is contained in:
parent
fbeb33ee99
commit
00673e22ef
|
@ -132,7 +132,7 @@ class case_string(unittest.TestCase):
|
||||||
dfilter = 'http.request.method contains "\x48\x45\x41\x44"' # "HEAD"
|
dfilter = 'http.request.method contains "\x48\x45\x41\x44"' # "HEAD"
|
||||||
checkDFilterCount(dfilter, 1)
|
checkDFilterCount(dfilter, 1)
|
||||||
|
|
||||||
def test_contains_6(self, checkDFilterCount):
|
def test_contains_7(self, checkDFilterCount):
|
||||||
dfilter = 'http.request.method contains 48:45:41:44' # "48:45:41:44"
|
dfilter = 'http.request.method contains 48:45:41:44' # "48:45:41:44"
|
||||||
checkDFilterCount(dfilter, 0)
|
checkDFilterCount(dfilter, 0)
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ class case_tvb(unittest.TestCase):
|
||||||
dfilter = 'frame contains aa.bb.ff'
|
dfilter = 'frame contains aa.bb.ff'
|
||||||
checkDFilterSucceed(dfilter)
|
checkDFilterSucceed(dfilter)
|
||||||
|
|
||||||
def test_protocol_1(self, checkDFilterFail):
|
def test_protocol_2(self, checkDFilterFail):
|
||||||
dfilter = 'frame contains aa.bb.hh'
|
dfilter = 'frame contains aa.bb.hh'
|
||||||
checkDFilterFail(dfilter, '"aa.bb.hh" is not a valid byte string.')
|
checkDFilterFail(dfilter, '"aa.bb.hh" is not a valid byte string.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue