Skip to content

Commit

Permalink
Adjust regex to fix failing test
Browse files Browse the repository at this point in the history
The exit status is 126, so adjust the regex to match.
  • Loading branch information
EdwardBetts committed Aug 6, 2023
1 parent 77265b7 commit 6fe0611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easy_thumbnails/tests/test_files.py
Expand Up @@ -244,7 +244,7 @@ def test_postprocessor_fail(self):
self.assertEqual(actual[0], 'easy_thumbnails.optimize')
self.assertEqual(actual[1], 'ERROR')
self.assertRegex(
actual[2], r'^Command\ .+returned non-zero exit status 1.?$')
actual[2], r'^Command .+returned non-zero exit status 1.*$')

def test_USE_TZ(self):
settings.USE_TZ = True
Expand Down

0 comments on commit 6fe0611

Please sign in to comment.