mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
upload: Explicitly return a bool and the Attachment object.
This commit is contained in:
committed by
Tim Abbott
parent
0b0a7fa251
commit
933e3cb375
@@ -875,7 +875,7 @@ class FileUploadTest(UploadSerializeMixin, ZulipTestCase):
|
||||
self.assertEqual(response.getvalue(), b"zulip!")
|
||||
|
||||
with self.assert_database_query_count(6):
|
||||
self.assertTrue(validate_attachment_request(user, fp_path_id))
|
||||
self.assertTrue(validate_attachment_request(user, fp_path_id)[0])
|
||||
|
||||
self.logout()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user