Skip to content

Commit

Permalink
Merge pull request #673 from tcely/patch-2
Browse files Browse the repository at this point in the history
Configure settings for this test
  • Loading branch information
meeb authored Feb 1, 2025
2 parents f9d838c + 07a82e6 commit 78e422f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tubesync/sync/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from urllib.parse import urlsplit
from xml.etree import ElementTree
from django.conf import settings
from django.test import TestCase, Client
from django.test import TestCase, Client, override_settings
from django.utils import timezone
from background_task.models import Task
from .models import Source, Media
Expand Down Expand Up @@ -1738,6 +1738,7 @@ def setUp(self):
metadata='{}'
)

@override_settings(SHRINK_OLD_MEDIA_METADATA=False, SHRINK_NEW_MEDIA_METADATA=False)
def test_metadata_20230629(self):
self.media.metadata = all_test_metadata['20230629']
self.media.save()
Expand Down

0 comments on commit 78e422f

Please sign in to comment.