From 79a17e63cf0983fab76bc2f2c665f4cdc72ee410 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Sun, 4 Jun 2017 23:37:41 +0200 Subject: [PATCH] fixed --- tests/test_objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_objects.py b/tests/test_objects.py index aaeb6eb..e3a109d 100644 --- a/tests/test_objects.py +++ b/tests/test_objects.py @@ -26,5 +26,5 @@ class TestObjects(unittest.TestCase): empty_p_msg = MessageProperties() ce_p_msg = MessageProperties(content_encoding=b'wtf') - self.assertIsNone(empty_p_msg.get('content_encoding')) - self.assertEquals(ce_p_msg.get('content_encoding', b'wtf')) + self.assertIsNone(empty_p_msg.get('content_encoding'), None) + self.assertEquals(ce_p_msg.get('content_encoding', b'wtf'), b'wtf') -- GitLab