quality: Add test cases for get_config messages
This commit is contained in:
parent
c592d9f7c5
commit
ca07b47575
5 changed files with 29 additions and 17 deletions
|
|
@ -28,10 +28,7 @@ defmodule OfpGetConfigTest do
|
|||
|
||||
describe "Openflow.to_binary/1" do
|
||||
test "with %Openflow.GetConfig.Request{}" do
|
||||
config = %Openflow.GetConfig.Request{
|
||||
version: 4,
|
||||
xid: 0
|
||||
}
|
||||
config = Openflow.GetConfig.Request.new(0)
|
||||
|
||||
expect =
|
||||
"test/packet_data/ofp_get_config_request.raw"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue