Skip to content

Commit

Permalink
Test email reader with unkown file type
Browse files Browse the repository at this point in the history
  • Loading branch information
rantahar committed Feb 19, 2024
1 parent 81b17b9 commit 97f3fe4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/reading/test_read_google_takeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ def test_read_email_activity_no_email_data(empty_zip_file):
assert data.empty


def test_read_email_unknown_file():
with pytest.raises(ValueError):
niimpy.reading.google_takeout.email_activity("unknown_file")


def test_read_chat(zipped_data):
data = niimpy.reading.google_takeout.chat(zipped_data)

Expand Down

0 comments on commit 97f3fe4

Please sign in to comment.