mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-18 07:36:55 +02:00
Possibly fix test_autofill test case integrity fail
This commit is contained in:
parent
1784d5cf60
commit
7dbf1c3b68
@ -113,6 +113,7 @@ class AttachmentUnitTests(TestCase):
|
|||||||
def test_autofill(self, mock_att_save, mock_queue_save, mock_ticket_save, mock_follow_up_save):
|
def test_autofill(self, mock_att_save, mock_queue_save, mock_ticket_save, mock_follow_up_save):
|
||||||
""" check utf-8 data is parsed correctly """
|
""" check utf-8 data is parsed correctly """
|
||||||
self.follow_up.pk = 100
|
self.follow_up.pk = 100
|
||||||
|
self.follow_up.save()
|
||||||
obj = models.FollowUpAttachment.objects.create(
|
obj = models.FollowUpAttachment.objects.create(
|
||||||
followup=self.follow_up,
|
followup=self.follow_up,
|
||||||
file=self.test_file
|
file=self.test_file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user