'Test that trying to update a user who does not exist returns a 404.'

@ddt.data(('client', 'user'), ('staff_client', 'staff_user'))
@ddt.unpack
def test_patch_account_unknown_user(self, api_client, user):

    client = self.login_client(api_client, user)
    response = client.patch(reverse('accounts_api', kwargs={'username': 'does_not_exist'}), data=json.dumps({}), content_type='application/merge-patch+json')
    self.assertEqual(404, response.status_code)
