diff --git a/post_office/tests/utils.py b/post_office/tests/utils.py
index <HASH>..<HASH> 100644
--- a/post_office/tests/utils.py
+++ b/post_office/tests/utils.py
@@ -102,7 +102,7 @@ class UtilsTest(TestCase):
         self.assertIsInstance(attachments[0], Attachment)
         self.assertTrue(attachments[0].pk)
         self.assertEquals(attachments[0].file.read(), b'content')
-        self.assertEquals(attachments[0].name, 'attachment_file1.txt')
+        self.assertTrue(attachments[0].name.startswith('attachment_file'))
 
     def test_create_attachments_open_file(self):
         attachments = create_attachments({
Fix tests failing because of dict sort order