Skip to content
Snippets Groups Projects
Commit e86860b9 authored by Frank Sigalas's avatar Frank Sigalas
Browse files

fix unit tests

parent 6d270ac4
No related branches found
No related tags found
No related merge requests found
...@@ -77,5 +77,4 @@ s = b'\x01#Eg\x89\xab\x00\x11"3DU\x08\x00E\x00\x000\x00\x01\x00\x00@\x06\xaf\xee ...@@ -77,5 +77,4 @@ s = b'\x01#Eg\x89\xab\x00\x11"3DU\x08\x00E\x00\x000\x00\x01\x00\x00@\x06\xaf\xee
assert(str(ofm) == s) assert(str(ofm) == s)
e = Ether(s) e = Ether(s)
e.show2() e.show2()
of = OFPTFeaturesRequest(e[TCP].load) e[OFPTFeaturesRequest].xid == 23
of.xid == 23
...@@ -79,5 +79,4 @@ s = b'\x01#Eg\x89\xab\x00\x11"3DU\x08\x00E\x00\x000\x00\x01\x00\x00@\x06\xaf\xee ...@@ -79,5 +79,4 @@ s = b'\x01#Eg\x89\xab\x00\x11"3DU\x08\x00E\x00\x000\x00\x01\x00\x00@\x06\xaf\xee
assert(str(ofm) == s) assert(str(ofm) == s)
e = Ether(s) e = Ether(s)
e.show2() e.show2()
of = OFPTFeaturesRequest(e[TCP].load) e[OFPTFeaturesRequest].xid == 23
of.xid == 23
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment