Skip to content

Commit

Permalink
Fix test for django client
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Aug 15, 2023
1 parent 517c363 commit 5780c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_djangoclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_attach_file(self):

html = self.browser.html
self.assertIn("text/plain", html)
self.assertIn(open(file_path, "rb").read().decode("utf-8"), html)
self.assertIn(open(file_path).read().strip(), html)

def test_forward_to_none_page(self):
"should not fail when trying to forward to none"
Expand Down

0 comments on commit 5780c6e

Please sign in to comment.