code: def test_all_files_created(ipynb_py_file, tmpdir):
      nb = jupytext.read(ipynb_py_file)
      tmp_ipynb = "notebook.ipynb"
      tmp_rmd = "notebook.Rmd"
      tmp_py = "notebook.py"
      nb.metadata["jupytext"] = {"formats": "ipynb,Rmd,py"}
  
      cm = TextFileContentsManager()
      cm.root_dir = str(tmpdir)
  
      cm.save(model=notebook_model(nb), path=tmp_ipynb)
  
      nb2 = jupytext.read(str(tmpdir.join(tmp_py)))
      compare_notebooks(nb2, nb)
  
      nb3 = jupytext.read(str(tmpdir.join(tmp_rmd)))
      compare_notebooks(nb3, nb, "Rmd")
  
file_path: jupytext/tests/functional/others/test_save_multiple.py
imports: import os
  import pytest
  from nbformat.v4.nbbase import new_notebook
  from nbformat.validator import NotebookValidationError
  from tornado.web import HTTPError
  import jupytext
  from jupytext.compare import compare_notebooks, notebook_model
  from jupytext.contentsmanager import TextFileContentsManager
label_desc: Use image node_id 3 for calling a global function with example usage: test_all_files_created(ipynb_py_file, tmpdir) without return types