'Verify that a user can patch her own account, even if inactive.'

def test_patch_inactive_user(self):

    self.client.login(username=self.user.username, password=TEST_PASSWORD)
    self.user.is_active = False
    self.user.save()
    response = self.send_patch(self.client, {'goals': 'to    not    activate    account'})
    self.assertEqual('to    not    activate    account', response.data['goals'])
