'Test that requesting a user who does not exist returns a 404.'

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

    client = self.login_client(api_client, username)
    response = client.get(reverse(self.url_endpoint_name, kwargs={'username': 'does_not_exist', 'preference_key': self.test_pref_key}))
    self.assertEqual(404, response.status_code)
