docstr: CSS Template API: Test update not found
docstr_tok: ["CSS","Template","API",":","Test","update","not","found"]
code: def test_update_css_template_not_found(self):
      """
      CSS Template API: Test update not found
      """
      max_id = db.session.query(func.max(CssTemplate.id)).scalar()
      self.login(username="admin")
  
      put_data = {
          "template_name": "template_name_changed",
          "css": "css_changed",
      }
  
      uri = f"api/v1/css_template/{max_id + 1}"
      rv = self.put_assert_metric(uri, put_data, "put")
      assert rv.status_code == 404
  
imports: import json
  import pytest
  import prison
  from datetime import datetime
  from freezegun import freeze_time
  from sqlalchemy.sql import func
  import tests.integration_tests.test_app
  from superset import db
  from superset.models.core import CssTemplate
  from superset.utils.database import get_example_database
  from tests.integration_tests.base_tests import SupersetTestCase
label_desc: Use image node_id 12 for calling the TestCssTemplateApi obj's underlying member method code with example usage: obj.test_update_css_template_not_found() without return types