def METHOD_NAME(self):
    self.login(username="admin")
    table = self.get_virtual_dataset()
    rv = self.client.get(
        f"api/v1/datasource/not_table/{table.id}/column/col1/values/"
    )
    self.assertEqual(rv.status_code, 400)
    response = json.loads(rv.data.decode("utf-8"))
    self.assertEqual(response["message"], "Invalid datasource type: not_table")