Add a test for deleting a user with a user prompt

This commit is contained in:
Joseph Schorr 2016-11-08 18:27:12 -05:00
parent 83e8d62bea
commit bf2804bd4d
2 changed files with 6 additions and 1 deletions

View file

@ -719,6 +719,11 @@ class TestDeleteNamespace(ApiTestCase):
with check_transitive_deletes():
self.deleteResponse(User, expected_code=204)
def test_delete_prompted_user(self):
self.login('randomuser')
with check_transitive_deletes():
self.deleteResponse(User, expected_code=204)
class TestSignin(ApiTestCase):
def test_signin_unicode(self):