Skip to content

Commit

Permalink
now following correct style implementations for issue ucfopen#647
Browse files Browse the repository at this point in the history
  • Loading branch information
nayanpaa committed Apr 24, 2024
1 parent b087966 commit ae6c387
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_canvas_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit ae6c387

Please sign in to comment.