def METHOD_NAME(self):
    data = {
        'emails': [self.admin.username],
        'path': self.file,
    }
    resp = self.client.post(self.url, json.dumps(data), 'application/json')
    self.assertEqual(200, resp.status_code)
    json_resp = json.loads(resp.content)
    assert len(json_resp['success']) == 0
    assert len(json_resp['failed']) == 1
    assert json_resp['failed'][0]['email'] == self.admin.username