Skip to content

Commit

Permalink
Add git diff in output for test_normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Aug 18, 2022
1 parent bc0a615 commit b4b6cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion survey/tests/locale/test_locale_normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def test_normalization(self):
"You did not update the translation following your changes. Maybe you did not use the "
"normalized 'python3 manage.py makemessages --no-obsolete --no-wrap' ? If you're "
f"working locally, just use 'git add {self.LOCALE_PATH}', we launched "
f"'{command_as_str}' during tests.",
f"'{command_as_str}' during tests.\ngit diff\n{git_diff}",
)
self.assertEqual(number_of_change, number_of_language, msg)

0 comments on commit b4b6cbb

Please sign in to comment.