Skip to content

Commit

Permalink
[chores] Fix failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
purhan committed Jul 12, 2021
1 parent 34f05c9 commit 034475c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,17 @@ def _get_nextcmd_list(return_value):
'1.3.6.1.4.1.14988.1.1.1.2.1.3': [0, 0],
'1.3.6.1.4.1.14988.1.1.1.2.1.3.0': [],
'1.3.6.1.2.1.1.9.1.1': [[[0, 1]], [[0, 2]], [[0, 3]], [[0, 4]], [[0, 5]]],
'1.3.6.1.2.1.4.35.1.4': [
MockOid('1.3.6.1.2.5'),
OctetString('0x040e3cca555f'),
],
'1.3.6.1.2.1.4.35.1.7': [MockOid('1.3.6.1.2.5'), 1],
'1.3.6.1.2.1.2.2.1.6.': [[[0, 1]], [[0, 2]], [[0, 3]], [[0, 4]], [[0, 5]]],
'1.3.6.1.2.1.2.2.1.1': [[[0, 1]], [[0, 2]], [[0, 3]], [[0, 4]], [[0, 5]]],
'1.3.6.1.2.1.4.20.1.1': [[[0, OctetString('127.0.0.1')]]],
'1.3.6.1.2.1.4.20.1.2': [[[0, 1]]],
'1.3.6.1.2.1.25.3.3.1.2': [0, 2],
'1.3.6.1.2.1.4.20.1.3': [[[0, OctetString('192.168.0.1')]]],
'1.3.6.1.4.1.10002.1.1.1.4.2.1.3': [[[0, 51]], [[0, 18]], [[0, 24]]],
'1.3.6.1.2.1.4.35.1': [
[[[MockOid('1.3.6.1.2.1.4.35.1.4')]], OctetString('0x040e3cca555f')],
[[[MockOid('1.3.6.1.2.1.4.35.1.7')]], 1],
],
}
oid = args[2]
return _get_nextcmd_list(res[oid])

0 comments on commit 034475c

Please sign in to comment.