Skip to content

Conversation

Gerhut
Copy link
Contributor

@Gerhut Gerhut commented Jul 26, 2020

Mailbox.get_new_mail returns a generator that does not actually run if we do not iterate it.

Mailbox.get_new_mail returns a generator
which do not actually run if we do not iterate it.
@ad-m
Copy link
Collaborator

ad-m commented Jul 26, 2020

Could you add tests for that to avoid regression in future?

@Gerhut
Copy link
Contributor Author

Gerhut commented Jul 26, 2020

Sure, trying

@Gerhut
Copy link
Contributor Author

Gerhut commented Jul 26, 2020

The difficulty is that to test something requires the django.contrib.admin app, we have to introduce lots of dependencies that are different in different Django versions.

Copy link
Collaborator

@ad-m ad-m left a comment

Choose a reason for hiding this comment

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

LGTM

@modernNeo
Copy link
Contributor

any ideas on when this will get merged? its a pretty big blocker. @ad-m

@ad-m ad-m merged commit 225da21 into coddingtonbear:master Oct 10, 2020
@Gerhut Gerhut deleted the fix-admin-action branch October 10, 2020 01:58
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.

3 participants