Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restructure test_issue_82 #440

Merged

Conversation

jacadzaca
Copy link
Collaborator

@jacadzaca jacadzaca commented Oct 7, 2022

splitting as per #400, I forgot about this one

@jacadzaca jacadzaca requested a review from angatha October 7, 2022 14:57
b.params['FMTTYPE'] = 'text/plain'
event = Event()
event.add('ATTACH', b)
assert event.to_ical() == events.issue_82_expected_output.raw_ics
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, we could double these kind of tests:
to_ical should be the raw one and parsing the raw one should lead to an object that is equal.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried my idea and it can be ignored. It did not work out as useful.

@niccokunzmann niccokunzmann merged commit 70a5f20 into collective:master Oct 7, 2022
@niccokunzmann
Copy link
Member

Thanks! It is nice to work through all the tests to get an overview over what is happening in the module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants