Skip to content

Commit

Permalink
adding to test case
Browse files Browse the repository at this point in the history
  • Loading branch information
chb2mn committed Jun 21, 2023
1 parent c96e38d commit 7a19acc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/parsers/chrome_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def testParse(self):
'creation_time': '2014-04-30T16:44:36.226091+00:00',
'data_type': 'chrome:cache:entry',
'original_url': (
'https://s.ytimg.com/yts/imgbin/player-common-vfliLfqPT.webp')}
'https://s.ytimg.com/yts/imgbin/player-common-vfliLfqPT.webp'),
'payloads': '["data_3 (offset: 0x5c000)", "f_000010"]'}

event_data = storage_writer.GetAttributeContainerByIndex('event_data', 0)
self.CheckEventData(event_data, expected_event_values)
Expand All @@ -60,7 +61,8 @@ def testParse_v3(self):
'data_type': 'chrome:cache:entry',
'original_url': ('https://m.media-amazon.com/images/'
'G/01/gno/sprites/nav-sprite-global-1x-reorg-privacy'
'._CB587940754_.png')
'._CB587940754_.png'),
'payloads': '["data_3 (offset: 0x330000)", "data_3 (offset: 0x332000)"]'
}

event_data = storage_writer.GetAttributeContainerByIndex('event_data', 0)
Expand Down

0 comments on commit 7a19acc

Please sign in to comment.