def METHOD_NAME(self):
    self.login(username="admin")
    rv = self.client.get("api/v1/datasource/table/999/column/col1/values/")
    self.assertEqual(rv.status_code, 404)
    response = json.loads(rv.data.decode("utf-8"))
    self.assertEqual(response["message"], "Datasource does not exist")