class_docstr: Base tests for `ExperimentIdMiddleware`.
class_docstr_tok: ["Base","tests","for","`","ExperimentIdMiddleware","`","."]
code: def _assert_ok(self, response, eid, path, script):
      self.assertEqual(response.status_code, 200)
      actual = json.loads(response.get_data())
      expected = dict(eid=eid, path=path, script=script)
      self.assertEqual(actual, expected)
  
imports: import json
  import werkzeug
  from werkzeug import test
  from tensorboard import test
  from tensorboard.backend import experiment_id
label_desc: Use image node_id 4 for calling the BaseTest obj's underlying member method code with example usage: obj._assert_ok(response, eid, path, script) without return types