Merge pull request #1257 from guedou/disable_snmpwalk_test

snmpwalk() tests commented
This commit is contained in:
Pierre Lalet 2018-03-16 17:44:39 +01:00 committed by GitHub
commit 2c5bf915ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

@ -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")