@@ -30,7 +30,7 @@ def test_network_order(self):
3030 self .assertEqual (ips , "0.1.2.3" )
3131
3232 def test_getpdu (self ):
33- oid = ObjectIdentifier (23 , 0 , 1 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 0 , 0 , 15 ))
33+ oid = ObjectIdentifier (24 , 0 , 1 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 0 , 0 , 15 ))
3434 get_pdu = GetPDU (
3535 header = PDUHeader (1 , PduTypes .GET , 16 , 0 , 42 , 0 , 0 , 0 ),
3636 oids = [oid ]
@@ -49,7 +49,7 @@ def test_getnextpdu(self):
4949 get_pdu = GetNextPDU (
5050 header = PDUHeader (1 , PduTypes .GET , 16 , 0 , 42 , 0 , 0 , 0 ),
5151 oids = (
52- ObjectIdentifier (20 , 0 , 0 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 1 )),
52+ ObjectIdentifier (21 , 0 , 0 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 1 , 0 )),
5353 )
5454 )
5555
@@ -63,7 +63,7 @@ def test_getnextpdu(self):
6363 self .assertEqual (str (value0 .data ), ipaddress .ip_address ("0.0.0.0" ).packed .decode ())
6464
6565 def test_getnextpdu_exactmatch (self ):
66- oid = ObjectIdentifier (23 , 0 , 1 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 0 , 0 , 17 ))
66+ oid = ObjectIdentifier (24 , 0 , 1 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 0 , 0 , 17 ))
6767 get_pdu = GetNextPDU (
6868 header = PDUHeader (1 , PduTypes .GET , 16 , 0 , 42 , 0 , 0 , 0 ),
6969 oids = [oid ]
@@ -84,7 +84,7 @@ def test_getpdu_noinstance(self):
8484 get_pdu = GetPDU (
8585 header = PDUHeader (1 , PduTypes .GET , 16 , 0 , 42 , 0 , 0 , 0 ),
8686 oids = (
87- ObjectIdentifier (19 , 0 , 0 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 )),
87+ ObjectIdentifier (20 , 0 , 0 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 )),
8888 )
8989 )
9090
@@ -100,7 +100,7 @@ def test_getnextpdu_empty(self):
100100 get_pdu = GetNextPDU (
101101 header = PDUHeader (1 , PduTypes .GET , 16 , 0 , 42 , 0 , 0 , 0 ),
102102 oids = (
103- ObjectIdentifier (11 , 0 , 0 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 2 )),
103+ ObjectIdentifier (12 , 0 , 0 , 0 , (1 , 3 , 6 , 1 , 2 , 1 , 4 , 24 , 4 , 1 , 1 , 1 )),
104104 )
105105 )
106106
0 commit comments