code: def test_config_jupytext_jupyter_fs_meta_manager(tmpdir):
      """Test the configuration of Jupytext with a fs manager"""
      tmpdir.join("jupytext.toml").write('formats = "ipynb,py"')
      cm = fs_meta_manager(tmpdir)
      # the hash that corresponds to the osfs
      osfs = [h for h in cm._managers if h != ""][0]
  
      # save a few files
      nb = new_notebook()
      cm.save(
          dict(type="file", content="text", format="text"),
          path=osfs + ":text.md",
      )
      cm.save(notebook_model(nb), osfs + ":script.py")
      cm.save(notebook_model(nb), osfs + ":text_notebook.md")
      cm.save(notebook_model(nb), osfs + ":notebook.ipynb")
  
      # list the directory
      directory = cm.get(osfs + ":/")
      assert {file["name"] for file in directory["content"]} == {
          "jupytext.toml",
          "text.md",
          "text_notebook.md",
          "notebook.ipynb",
          "notebook.py",
          "script.py",
          "script.ipynb",
      }
  
file_path: jupytext/tests/external/jupyter_fs/test_jupyter_fs.py
imports: import logging
  import pytest
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook
  import jupytext
  from jupytext.compare import compare_cells, notebook_model
label_desc: Use image node_id 3 for calling a global function with example usage: test_config_jupytext_jupyter_fs_meta_manager(tmpdir) without return types