Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
raghur committed Sep 11, 2018
1 parent 4aea1b6 commit b3249f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_contentargparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,6 @@ def validateFileContent(content):
parser.updateArgs(args)
parser.updateFileWithPostId("1000")

mock_open.assert_called_with(theFile.name, "w")
mock_open.assert_called_with(theFile.name, "w", encoding='utf-8')
fileHandle.flush.assert_called()
fileHandle.write.assert_called()

0 comments on commit b3249f9

Please sign in to comment.