Skip to content

Commit

Permalink
Return a copy instead of modifying the input
Browse files Browse the repository at this point in the history
  • Loading branch information
tcely authored Feb 23, 2025
1 parent 3e2337d commit 7c2ba57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tubesync/sync/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@ def test_metadata_20230629(self):
self.media.save()

unfiltered = self.media.loaded_metadata
filtered = filter_response(self.media.loaded_metadata)
filtered = filter_response(self.media.loaded_metadata, True)
self.assertIn('formats', unfiltered.keys())
self.assertIn('formats', filtered.keys())
# filtered 'downloader_options'
Expand Down

0 comments on commit 7c2ba57

Please sign in to comment.