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

Add unit tests for bobbit.history #19

Merged
merged 6 commits into from
Oct 5, 2020
Merged

Conversation

shawalli
Copy link
Contributor

@shawalli shawalli commented Oct 4, 2020

This PR adds unit tests for bobbit.history. Addresses task in #17.

src/bobbit/history.py Outdated Show resolved Hide resolved
@pbui
Copy link
Owner

pbui commented Oct 4, 2020

@shawalli Besides the in-place reverse, everything else looks OK. Go ahead and revert that and I'll test it out. Thanks.

@shawalli
Copy link
Contributor Author

shawalli commented Oct 4, 2020 via email

@pbui
Copy link
Owner

pbui commented Oct 4, 2020

I think we should do:

 messages = list(reversed(messages))

@pbui pbui merged commit e25c2cc into pbui:bobbit-0.2.x Oct 5, 2020
@pbui
Copy link
Owner

pbui commented Oct 5, 2020

@shawalli Thank you for your contribution.

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