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

test: improve utils/test_graph.py module #420

Merged
merged 2 commits into from
May 3, 2023

Conversation

gcroci2
Copy link
Collaborator

@gcroci2 gcroci2 commented May 2, 2023

Originally we were testing everything in only one test; now I divided the tests into three more logical ones, and I added few more asserts to improve coverage.

@gcroci2 gcroci2 requested a review from DaniBodor May 2, 2023 13:05
@gcroci2 gcroci2 linked an issue May 2, 2023 that may be closed by this pull request
2 tasks
Copy link
Collaborator

@DaniBodor DaniBodor left a comment

Choose a reason for hiding this comment

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

Much more structured now ✨.

I feel that there's a fair amount of duplicate code between the last 2 tests, so wonder if it's really necessary to separate those. Not a big deal, though, so if you don't want to spend more time on it, it's fine to leave as is as well.

@gcroci2 gcroci2 merged commit 4bf659c into main May 3, 2023
@gcroci2 gcroci2 deleted the 276_improve_tests_grids_gcroci2 branch May 3, 2023 11:06
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.

Improve tests for grids
2 participants