From ba642d2c2ee27c7894b4c00832ca0e2810b7edc2 Mon Sep 17 00:00:00 2001 From: Ben Timby Date: Mon, 7 May 2018 11:42:06 -0400 Subject: [PATCH] Fix test. --- tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests.py b/tests.py index 3934340..289e8f4 100644 --- a/tests.py +++ b/tests.py @@ -66,7 +66,8 @@ def test_set_get_item(self): self.assertEqual([b'foobar'], a[radius.ATTR_USER_NAME]) self.assertEqual([b'foobar'], a['user-name']) self.assertEqual([b'foobar'], a['user-Name']) - self.assertEqual([('User-Name', ['foobar'])], list(a.nameditems())) + self.assertEqual( + [(None, ['bar']), ('User-Name', ['foobar'])], list(a.nameditems())) def test_init_update(self): """Test __init__ and update."""