[Bug 1418276] Re: Deleting a user via the REST API does not delete their user preferences
Abhishek
abhi170893 at gmail.com
Fri Mar 20 18:41:24 CET 2015
Thanks Barry for the suggestions. I will see the PEP 8 and the Mailman
guide. And i tried pushing the branch for the merge proposal, but from
inside the college i cant do ssh outside and was getting error. So i
submitted the patch.
I looked at the r7307 and wanted to ask something:
In rest/tests/test_users.py you have used
config.db.store.query(Preferences) inside with. But there is another
usage of it in line 221 and also in the file model/tests/test_user.py
which are not inside with block. Any specific reason for the
difference..?
230 with transaction():
231 preferences = config.db.store.query(Preferences).filter_by(
232 id=anne.preferences.id)
233 self.assertEqual(preferences.count(), 0)
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1418276
Title:
Deleting a user via the REST API does not delete their user
preferences
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1418276/+subscriptions
More information about the Mailman-coders
mailing list