code: def test_read_config(settings_file, sample_viewer_config):
      (settings_file).write_text(json.dumps(sample_viewer_config))
      labconfig = LabConfig(settings_file=settings_file).read()
      assert labconfig.config == sample_viewer_config
  
file_path: jupytext/tests/unit/test_labconfig.py
imports: import json
  import pytest
  from jupytext_config.labconfig import LabConfig
label_desc: Use image node_id 4 for calling a global function with example usage: test_read_config(settings_file, sample_viewer_config) without return types