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 management command to notify and delete users #2

Merged
merged 15 commits into from
Apr 28, 2016

Conversation

kevinetienne
Copy link
Contributor

No description provided.

@kevinetienne kevinetienne changed the title Add management command to notify users Add management command to notify and delete users Apr 28, 2016
@kevinetienne
Copy link
Contributor Author

@Ian-Foote @adam-thomas @nologo can you review please?

class TestUserNotifyManagementCommand(TestCase):
def test_no_users(self):
call_command('notify_users')
self.assertFalse(len(mail.outbox))
Copy link
Contributor

@LilyFoote LilyFoote Apr 28, 2016

Choose a reason for hiding this comment

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

I'd prefer assertEqual(0).

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 for this, personally. Not a dealbreaker for me though.

@kevinetienne
Copy link
Contributor Author

kevinetienne commented Apr 28, 2016

Updated and thanks for the review!

@adam-thomas
Copy link
Contributor

adam-thomas commented Apr 28, 2016

LGTM, nice one! :)

It occurs to me that the 'account deleted' email sounds quite hostile. Where does that copy come from?

@kevinetienne
Copy link
Contributor Author

It comes from diabates coach

@adam-thomas
Copy link
Contributor

OK cool, fine by me then :)

@adam-thomas adam-thomas merged commit 645244e into master Apr 28, 2016
@adam-thomas adam-thomas deleted the add-command-notify-user branch April 28, 2016 14:55
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