Fix things, unfix things, refix things, break things, fix things
This commit is contained in:
parent
08dc5b4d86
commit
7b21a0a208
4 changed files with 12 additions and 9 deletions
|
@ -135,6 +135,8 @@ class BookViews(TestCase):
|
|||
|
||||
def test_handle_reject(self):
|
||||
''' reject a follow request '''
|
||||
self.local_user.manually_approves_followers = True
|
||||
self.local_user.save(broadcast=False)
|
||||
request = self.factory.post('', {'user': self.remote_user.username})
|
||||
request.user = self.local_user
|
||||
rel = models.UserFollowRequest.objects.create(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue