mirror of https://github.com/secdev/scapy.git
Merge pull request #1257 from guedou/disable_snmpwalk_test
snmpwalk() tests commented
This commit is contained in:
commit
2c5bf915ee
|
@ -10099,14 +10099,14 @@ parsed = RTP(raw(created))
|
|||
assert parsed.sourcesync == 0xabcdef01
|
||||
assert "RTPExtension" not in parsed
|
||||
|
||||
= Test snmpwalk()
|
||||
|
||||
~ netaccess
|
||||
def test_snmpwalk(dst):
|
||||
with ContextManagerCaptureOutput() as cmco:
|
||||
snmpwalk(dst=dst)
|
||||
output = cmco.get_output()
|
||||
expected = "No answers\n"
|
||||
assert(output == expected)
|
||||
|
||||
test_snmpwalk("secdev.org")
|
||||
#= Test snmpwalk()
|
||||
#
|
||||
#~ netaccess
|
||||
#def test_snmpwalk(dst):
|
||||
# with ContextManagerCaptureOutput() as cmco:
|
||||
# snmpwalk(dst=dst)
|
||||
# output = cmco.get_output()
|
||||
# expected = "No answers\n"
|
||||
# assert(output == expected)
|
||||
#
|
||||
#test_snmpwalk("secdev.org")
|
||||
|
|
Loading…
Reference in New Issue