From ae6c3878f86ebcd24af08a62ff99d786ed30816b Mon Sep 17 00:00:00 2001 From: Nayan Paavalar Date: Wed, 24 Apr 2024 19:07:26 -0400 Subject: [PATCH] now following correct style implementations for issue #647 --- tests/test_canvas_object.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_canvas_object.py b/tests/test_canvas_object.py index c88f0a3b..859fb8aa 100644 --- a/tests/test_canvas_object.py +++ b/tests/test_canvas_object.py @@ -74,7 +74,9 @@ def test_set_attributes_with_content_type(self, m): self.canvas_object.set_attributes(attributes) self.assertTrue(hasattr(self.canvas_object, "content-type")) - self.assertEqual(getattr(self.canvas_object, 'content-type'), "application/json") + self.assertEqual( + getattr(self.canvas_object, "content-type"), "application/json" + ) self.assertTrue(hasattr(self.canvas_object, "content_type")) self.assertEqual(self.canvas_object.content_type, "another_application/json") self.assertTrue(hasattr(self.canvas_object, "filename"))