diff options
-rw-r--r-- | ryu/tests/unit/ofproto/test_oxm.py | 4 | ||||
-rw-r--r-- | ryu/tests/unit/ofproto/test_oxs.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ryu/tests/unit/ofproto/test_oxm.py b/ryu/tests/unit/ofproto/test_oxm.py index 448edf55..ffb762fc 100644 --- a/ryu/tests/unit/ofproto/test_oxm.py +++ b/ryu/tests/unit/ofproto/test_oxm.py @@ -171,7 +171,7 @@ class Test_OXM(unittest.TestCase): self._test(user, on_wire, 10) def test_basic_unknown_nomask(self): - user = ('field_100', b'aG9nZWhvZ2U=') + user = ('field_100', 'aG9nZWhvZ2U=') on_wire = ( b'\x00\x00\xc8\x08' b'hogehoge' @@ -179,7 +179,7 @@ class Test_OXM(unittest.TestCase): self._test(user, on_wire, 4) def test_basic_unknown_mask(self): - user = ('field_100', (b'aG9nZWhvZ2U=', b'ZnVnYWZ1Z2E=')) + user = ('field_100', ('aG9nZWhvZ2U=', 'ZnVnYWZ1Z2E=')) on_wire = ( b'\x00\x00\xc9\x10' b'hogehoge' diff --git a/ryu/tests/unit/ofproto/test_oxs.py b/ryu/tests/unit/ofproto/test_oxs.py index 53bd13b0..289731f0 100644 --- a/ryu/tests/unit/ofproto/test_oxs.py +++ b/ryu/tests/unit/ofproto/test_oxs.py @@ -108,7 +108,7 @@ class Test_OXS(unittest.TestCase): self._test(user, on_wire, 4) def test_basic_unknown(self): - user = ('field_100', b'aG9nZWhvZ2U=') + user = ('field_100', 'aG9nZWhvZ2U=') on_wire = ( b'\x00\x00\xc8\x08' b'hogehoge' |