class_docstr: Tests for `ClientFeatureFlagsMiddleware`.
class_docstr_tok: ["Tests","for","`","ClientFeatureFlagsMiddleware","`","."]
code: def _assert_ok(self, response, client_feature_flags):
      self.assertEqual(response.status_code, 200)
      actual = json.loads(response.get_data())
      expected = dict(client_feature_flags=client_feature_flags)
      self.assertEqual(actual, expected)
  
imports: import json
  from werkzeug import test
  from werkzeug import wrappers
  from tensorboard import context
  from tensorboard import errors
  from tensorboard import test
  from tensorboard.backend import client_feature_flags
label_desc: Use image node_id 2 for calling the ClientFeatureFlagsMiddlewareTest obj's underlying member method code with example usage: obj._assert_ok(response, client_feature_flags) without return types