Skip to content

Commit

Permalink
Merge pull request #620 from EdwardBetts/test-regex-fix
Browse files Browse the repository at this point in the history
Adjust regex to fix failing test
  • Loading branch information
jrief authored Sep 11, 2024
2 parents 4bdef07 + 6fe0611 commit 1bc0334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easy_thumbnails/tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,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 1bc0334

Please sign in to comment.