Skip to content

Commit

Permalink
Update lint error in tests
Browse files Browse the repository at this point in the history
Fix lint error "line too long" in plugin test file.
  • Loading branch information
ChristopherGammaWau committed Mar 2, 2025
1 parent ca65e82 commit cb5c1ea
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/parsers/sqlite_plugins/android_native_downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ class AndroidNativeDownloadsTest(test_lib.SQLitePluginTestCase):
"""Tests for the Android native downloads database plugin."""

def testProcess(self):
"""Test the Process function on an Android native downloads database (downloads.db) file."""
"""Test the Process function on an Android native downloads
database (downloads.db) file."""
plugin = android_native_downloads.AndroidNativeDownloadsPlugin()
storage_writer = self._ParseDatabaseFileWithPlugin(['downloads.db'], plugin)
storage_writer = self._ParseDatabaseFileWithPlugin(['downloads.db'],
plugin)

# The Native Downloads database file contains 11 events.
number_of_event_data = storage_writer.GetNumberOfAttributeContainers(
Expand All @@ -32,7 +34,8 @@ def testProcess(self):
expected_event_values = {
'lastmod': '2022-11-12T15:32:28.279+00:00',
'id': 46,
'uri': 'https://cdn.discordapp.com/attachments/622810296226152474/1041012392089370735/IMG_1953.jpg',
'uri': '''https://cdn.discordapp.com/attachments/
622810296226152474/1041012392089370735/IMG_1953.jpg''',
'mimetype': 'image/jpeg',
'total_bytes': 2149749,
'current_bytes': 2149749,
Expand All @@ -41,7 +44,8 @@ def testProcess(self):
'deleted': 0,
'notification_package': 'com.discord',
'title': 'IMG_1953.jpg',
'media_provider_uri': 'content://media/external_primary/images/media/1000000486',
'media_provider_uri': '''content://media/external_primary/
images/media/1000000486''',
'error_msg': None,
'is_visible_in_downloads_ui': 1,
'destination': 4,
Expand Down

0 comments on commit cb5c1ea

Please # to comment.