Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Apr 29, 2022
1 parent d2e9683 commit d3b0141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbbackup/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def func():
self.assertEqual(len(mail.outbox), 1)
error_mail = mail.outbox[0]
self.assertEqual(["foo@bar"], error_mail.to)
self.assertIn("Exception('Foo')", error_mail.subject)
self.assertIn('Exception("Foo")', error_mail.subject)
if django.VERSION >= (1, 7):
self.assertIn("Exception('Foo')", error_mail.body)
self.assertIn('Exception("Foo")', error_mail.body)


class Encrypt_FileTest(TestCase):
Expand Down

0 comments on commit d3b0141

Please sign in to comment.