Skip to content

Commit

Permalink
chore: update urls
Browse files Browse the repository at this point in the history
  • Loading branch information
purarue committed Oct 27, 2024
1 parent eb89fc9 commit 5503cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ def test_location_2024(tmp_path_f: Path) -> None:


def test_chrome_history(tmp_path_f: Path) -> None:
contents = '{"Browser History": [{"page_transition": "LINK", "title": "title", "url": "https://sean.fish", "client_id": "W1vSb98l403jhPeK==", "time_usec": 1617404690134513}]}'
contents = '{"Browser History": [{"page_transition": "LINK", "title": "title", "url": "https://purarue.xyz", "client_id": "W1vSb98l403jhPeK==", "time_usec": 1617404690134513}]}'
fp = tmp_path_f / "file"
fp.write_text(contents)
res = list(prj._parse_chrome_history(fp))
assert res == [
models.ChromeHistory(
title="title",
url="https://sean.fish",
url="https://purarue.xyz",
dt=datetime.datetime(
2021, 4, 2, 23, 4, 50, 134513, tzinfo=datetime.timezone.utc
),
Expand Down

0 comments on commit 5503cb8

Please sign in to comment.